zynqmp: Add support for EMMC bootmode

Add support for EMMC bootmode.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
master
Michal Simek 10 years ago
parent 16247d28d5
commit 39c56f55be
  1. 3
      arch/arm/include/asm/arch-zynqmp/hardware.h
  2. 1
      board/xilinx/zynqmp/zynqmp.c

@ -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

@ -83,6 +83,7 @@ int board_late_init(void)
switch (bootmode) {
case SD_MODE:
case EMMC_MODE:
setenv("modeboot", "sdboot");
break;
default:

Loading…
Cancel
Save