From 5d498a12b6416e2d692d720083eb6c57497112c4 Mon Sep 17 00:00:00 2001 From: Ashok Reddy Soma Date: Wed, 15 Sep 2021 08:52:17 +0200 Subject: [PATCH] xilinx: zynqmp: Set modeboot env variable in eMMC bootmode Set environment variable modeboot to "emmcboot" in case of eMMC boot mode. Signed-off-by: Ashok Reddy Soma Signed-off-by: Michal Simek Link: https://lore.kernel.org/r/c61231e4b8c6118862dfc82e923211637bf29991.1631688736.git.michal.simek@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 ea15e62eb2..000a7cde8d 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.39.5