uboot-mediatek: update to 2021.04-rc3 with MediaTek's patches
[openwrt/staging/rmilecki.git] / package / boot / uboot-mediatek / patches / 008-bootmenu-custom-title.patch
diff --git a/package/boot/uboot-mediatek/patches/008-bootmenu-custom-title.patch b/package/boot/uboot-mediatek/patches/008-bootmenu-custom-title.patch
deleted file mode 100644 (file)
index 32f26ec..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
---- a/cmd/bootmenu.c
-+++ b/cmd/bootmenu.c
-@@ -38,6 +38,7 @@ struct bootmenu_data {
-       int active;                     /* active menu entry */
-       int count;                      /* total count of menu entries */
-       struct bootmenu_entry *first;   /* first menu entry */
-+      char *mtitle;                   /* custom menu title */
- };
- enum bootmenu_key {
-@@ -380,7 +381,12 @@ static void menu_display_statusline(stru
-       printf(ANSI_CURSOR_POSITION, 1, 1);
-       puts(ANSI_CLEAR_LINE);
-       printf(ANSI_CURSOR_POSITION, 2, 1);
--      puts("  *** U-Boot Boot Menu ***");
-+
-+      if (menu->mtitle)
-+              puts(menu->mtitle);
-+      else
-+              puts("  *** U-Boot Boot Menu ***");
-+
-       puts(ANSI_CLEAR_LINE_TO_END);
-       printf(ANSI_CURSOR_POSITION, 3, 1);
-       puts(ANSI_CLEAR_LINE);
-@@ -434,6 +440,7 @@ static void bootmenu_show(int delay)
-               return;
-       }
-+      bootmenu->mtitle = env_get("bootmenu_title");
-       for (iter = bootmenu->first; iter; iter = iter->next) {
-               if (!menu_item_add(menu, iter->key, iter))
-                       goto cleanup;