[U-Boot] [PATCH 11/23] ARM64: zynqmp: Differentiate EMMC boot mode

Michal Simek michal.simek at xilinx.com
Thu Jan 14 14:46:21 CET 2016


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 at xilinx.com>
Signed-off-by: Michal Simek <michal.simek at xilinx.com>
---

 board/xilinx/zynqmp/zynqmp.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c
index 9c176d01c430..a1d3fef24e8e 100644
--- a/board/xilinx/zynqmp/zynqmp.c
+++ b/board/xilinx/zynqmp/zynqmp.c
@@ -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;
-- 
1.9.1



More information about the U-Boot mailing list