]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: uniphier: carry on booting for Unknown boot mode
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 21 Apr 2016 05:43:16 +0000 (14:43 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 24 Apr 2016 00:53:57 +0000 (09:53 +0900)
No need to stop booting U-Boot even if boot mode is unknown.
Setting the "bootmode" environment is only useful for booting
Linux Kernel.  Anyway, U-Boot has already booted by this point.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/mach-uniphier/board_late_init.c

index 6e2008ccd733bcd5762c0a572fb47f6120a93b9c..591b972c8a5029ddd50f93bb0c0a1306e2e6ca46 100644 (file)
@@ -85,8 +85,8 @@ int board_late_init(void)
                setenv("bootmode", "usbboot");
                break;
        default:
-               printf("Unsupported Boot Mode\n");
-               return -1;
+               printf("Unknown\n");
+               break;
        }
 
        uniphier_set_fdt_file();