]> git.baikalelectronics.ru Git - uboot.git/commitdiff
xilinx: zynqmp: Set modeboot env variable in eMMC bootmode
authorAshok Reddy Soma <ashok.reddy.soma@xilinx.com>
Wed, 15 Sep 2021 06:52:17 +0000 (08:52 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 30 Sep 2021 10:27:54 +0000 (12:27 +0200)
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>
Link: https://lore.kernel.org/r/c61231e4b8c6118862dfc82e923211637bf29991.1631688736.git.michal.simek@xilinx.com
board/xilinx/zynqmp/zynqmp.c

index ea15e62eb21eaf19c0e8effe418c46ee09f276fe..000a7cde8d8415027abcf463277a230010e1aada 100644 (file)
@@ -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");