]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
xilinx: zynqmp: Set modeboot env variable in eMMC bootmode
authorAshok Reddy Soma <ashok.reddy.soma@xilinx.com>
Mon, 13 Sep 2021 07:18:07 +0000 (01:18 -0600)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 13 Sep 2021 10:54:05 +0000 (12:54 +0200)
Set environment variable modeboot to "emmcboot" in case of eMMC boot
mode.

Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
board/xilinx/zynqmp/zynqmp.c

index 94f9332530513f1e4a791061a0003f98dbbdab21..4c09532a691cdbddc261076dde52d70316177be1 100644 (file)
@@ -628,6 +628,7 @@ int board_late_init(void)
 
                mode = "mmc";
                bootseq = dev->seq;
+               env_set("modeboot", "emmcboot");
                break;
        case SD_MODE:
                puts("SD_MODE\n");