mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 08:01:08 +00:00
zynqmp: Add support for EMMC bootmode
Add support for EMMC bootmode. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
parent
16247d28d5
commit
39c56f55be
2 changed files with 3 additions and 1 deletions
|
@ -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…
Reference in a new issue