summaryrefslogtreecommitdiffstats
path: root/board
diff options
context:
space:
mode:
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>2015-03-13 11:10:26 +0530
committerMichal Simek <michal.simek@xilinx.com>2016-01-27 15:55:56 +0100
commit0a5bcc8c0d04d4dd277cfeb1edf1e7b298b0f484 (patch)
tree6d441126418c37e32e68f3671a1aadd223647931 /board
parent0d90e9d851c98200a4fc496a3ea1320a5ed2ded8 (diff)
downloadtalos-obmc-uboot-0a5bcc8c0d04d4dd277cfeb1edf1e7b298b0f484.tar.gz
talos-obmc-uboot-0a5bcc8c0d04d4dd277cfeb1edf1e7b298b0f484.zip
ARM64: zynqmp: Modify the SD and QSPI bootmode values
Modify the SD bootmode value to 0x3 as per latest spec. Also add new boot mode QSPI 32 bit boot mode Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'board')
-rw-r--r--board/xilinx/zynqmp/zynqmp.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c
index 63c332f03d..cf8d6a4a51 100644
--- a/board/xilinx/zynqmp/zynqmp.c
+++ b/board/xilinx/zynqmp/zynqmp.c
@@ -83,6 +83,13 @@ int board_late_init(void)
bootmode = reg & BOOT_MODES_MASK;
switch (bootmode) {
+ case JTAG_MODE:
+ setenv("modeboot", "netboot");
+ break;
+ case QSPI_MODE_24BIT:
+ case QSPI_MODE_32BIT:
+ setenv("modeboot", "qspiboot");
+ break;
case SD_MODE:
case EMMC_MODE:
setenv("modeboot", "sdboot");
OpenPOWER on IntegriCloud