[PATCH] xilinx: zynqmp: Set modeboot env variable in eMMC bootmode
Michal Simek
michal.simek at xilinx.com
Wed Sep 15 08:52:17 CEST 2021
From: Ashok Reddy Soma <ashok.reddy.soma at xilinx.com>
Set environment variable modeboot to "emmcboot" in case of eMMC boot
mode.
Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma at xilinx.com>
Signed-off-by: Michal Simek <michal.simek at xilinx.com>
---
board/xilinx/zynqmp/zynqmp.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c
index ea15e62eb21e..000a7cde8d84 100644
--- a/board/xilinx/zynqmp/zynqmp.c
+++ b/board/xilinx/zynqmp/zynqmp.c
@@ -672,6 +672,7 @@ int board_late_init(void)
mode = "mmc";
bootseq = dev_seq(dev);
+ env_set("modeboot", "emmcboot");
break;
case SD_MODE:
puts("SD_MODE\n");
--
2.33.0
More information about the U-Boot
mailing list