u-boot.lists.denx.de archive mirror
 help / color / mirror / Atom feed
* [PATCH] xilinx: zynqmp: Set modeboot env variable in eMMC bootmode
@ 2021-09-15  6:52 Michal Simek
  0 siblings, 0 replies; only message in thread
From: Michal Simek @ 2021-09-15  6:52 UTC (permalink / raw)
  To: u-boot, git; +Cc: Ashok Reddy Soma, Ibai Erkiaga, Simon Glass, T Karthik Reddy

From: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>

Set environment variable modeboot to "emmcboot" in case of eMMC boot
mode.

Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Signed-off-by: Michal Simek <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 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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-15  6:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-15  6:52 [PATCH] xilinx: zynqmp: Set modeboot env variable in eMMC bootmode Michal Simek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).