]> git.sur5r.net Git - u-boot/commitdiff
ARM64: zynqmp: Differentiate EMMC boot mode
authorMichal Simek <michal.simek@xilinx.com>
Mon, 5 Oct 2015 13:59:38 +0000 (15:59 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 27 Jan 2016 14:55:56 +0000 (15:55 +0100)
Show also EMMC bootmode if selected. There is difference compare to SD
bootmode. Use the same bootcommand till better boot command is created.

Reported-by: Sai Pavan Boddu <saipava@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
board/xilinx/zynqmp/zynqmp.c

index 9c176d01c43005b498d06e311fb1bdab275ef7c8..a1d3fef24e8e9bbf569c4b08783811439a3c03e0 100644 (file)
@@ -93,8 +93,11 @@ int board_late_init(void)
                setenv("modeboot", "qspiboot");
                puts("QSPI_MODE\n");
                break;
-       case SD_MODE:
        case EMMC_MODE:
+               puts("EMMC_MODE\n");
+               setenv("modeboot", "sdboot");
+               break;
+       case SD_MODE:
                puts("SD_MODE\n");
                setenv("modeboot", "sdboot");
                break;