]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
zynqmp: Add support for EMMC bootmode
authorMichal Simek <michal.simek@xilinx.com>
Wed, 15 Apr 2015 13:02:28 +0000 (15:02 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 29 Apr 2015 09:19:04 +0000 (11:19 +0200)
Add support for EMMC bootmode.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/include/asm/arch-zynqmp/hardware.h
board/xilinx/zynqmp/zynqmp.c

index 188b5c2144af73058083ed0ac27bac389fdedfa7..87792c21a5d0f42f9cfd27cf9e86c56f0ac61df2 100644 (file)
@@ -45,7 +45,8 @@ struct iou_scntr {
 
 /* Bootmode setting values */
 #define BOOT_MODES_MASK        0x0000000F
-#define SD_MODE                0x00000005
+#define SD_MODE                0x00000003
+#define EMMC_MODE      0x00000006
 #define JTAG_MODE      0x00000000
 
 #define ZYNQMP_RPU_BASEADDR    0xFF9A0000
index e38948426d7067b9cd455c44686260f110fe73b1..f5ff64d988e5b902d6a02ffb99f93276da865555 100644 (file)
@@ -83,6 +83,7 @@ int board_late_init(void)
 
        switch (bootmode) {
        case SD_MODE:
+       case EMMC_MODE:
                setenv("modeboot", "sdboot");
                break;
        default: