projects
/
openwrt
/
staging
/
noltari.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
uboot-mediatek: update to U-Boot 2023.01
[openwrt/staging/noltari.git]
/
package
/
boot
/
uboot-mediatek
/
patches
/
211-cmd-bootmenu-custom-title.patch
diff --git
a/package/boot/uboot-mediatek/patches/211-cmd-bootmenu-custom-title.patch
b/package/boot/uboot-mediatek/patches/211-cmd-bootmenu-custom-title.patch
index 72926ea2e7fefd206a6b9ecbf7de9ec11b86ad21..69a3a07b901b7d05203c3f35f9b85ae81d655c11 100644
(file)
--- a/
package/boot/uboot-mediatek/patches/211-cmd-bootmenu-custom-title.patch
+++ b/
package/boot/uboot-mediatek/patches/211-cmd-bootmenu-custom-title.patch
@@
-1,6
+1,6
@@
--- a/cmd/bootmenu.c
+++ b/cmd/bootmenu.c
--- a/cmd/bootmenu.c
+++ b/cmd/bootmenu.c
-@@ -4
39,7 +43
9,11 @@ static void menu_display_statusline(stru
+@@ -4
49,7 +44
9,11 @@ static void menu_display_statusline(stru
printf(ANSI_CURSOR_POSITION, 1, 1);
puts(ANSI_CLEAR_LINE);
printf(ANSI_CURSOR_POSITION, 2, 3);
printf(ANSI_CURSOR_POSITION, 1, 1);
puts(ANSI_CLEAR_LINE);
printf(ANSI_CURSOR_POSITION, 2, 3);
@@
-13,7
+13,7
@@
puts(ANSI_CLEAR_LINE_TO_END);
printf(ANSI_CURSOR_POSITION, 3, 1);
puts(ANSI_CLEAR_LINE);
puts(ANSI_CLEAR_LINE_TO_END);
printf(ANSI_CURSOR_POSITION, 3, 1);
puts(ANSI_CLEAR_LINE);
-@@ -5
24,6 +52
8,7 @@ static enum bootmenu_ret bootmenu_show(i
+@@ -5
34,6 +53
8,7 @@ static enum bootmenu_ret bootmenu_show(i
return BOOTMENU_RET_FAIL;
}
return BOOTMENU_RET_FAIL;
}
@@
-23,7
+23,7
@@
goto cleanup;
--- a/include/menu.h
+++ b/include/menu.h
goto cleanup;
--- a/include/menu.h
+++ b/include/menu.h
-@@ -4
3,6 +43
,7 @@ struct bootmenu_data {
+@@ -4
4,6 +44
,7 @@ struct bootmenu_data {
int active; /* active menu entry */
int count; /* total count of menu entries */
struct bootmenu_entry *first; /* first menu entry */
int active; /* active menu entry */
int count; /* total count of menu entries */
struct bootmenu_entry *first; /* first menu entry */