summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2016-08-30 16:17:27 +0200
committerMichal Simek <michal.simek@xilinx.com>2016-09-22 07:33:20 +0200
commit7f491d7b30a152ad635d46cb795013b447e0a82f (patch)
tree87bbd273523404f51a1aea135d87ad8b98c33ce7 /arch/arm/include/asm
parent275bd6d11fd686beddf68b9f2b0de015b9e9f631 (diff)
downloadu-boot-imx-7f491d7b30a152ad635d46cb795013b447e0a82f.zip
u-boot-imx-7f491d7b30a152ad635d46cb795013b447e0a82f.tar.gz
u-boot-imx-7f491d7b30a152ad635d46cb795013b447e0a82f.tar.bz2
ARM64: zynqmp: Force certain bootmode for SPL
ZynqMP provides an option to overwrite bootmode setting which can change SPL behavior. For example: boot SPL via JTAG and then SPL loads images from SD. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/arm/include/asm')
-rw-r--r--arch/arm/include/asm/arch-zynqmp/hardware.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-zynqmp/hardware.h b/arch/arm/include/asm/arch-zynqmp/hardware.h
index 35964d6..bcb2434 100644
--- a/arch/arm/include/asm/arch-zynqmp/hardware.h
+++ b/arch/arm/include/asm/arch-zynqmp/hardware.h
@@ -70,6 +70,8 @@ struct iou_scntr_secure {
#define NAND_MODE 0x00000004
#define EMMC_MODE 0x00000006
#define JTAG_MODE 0x00000000
+#define BOOT_MODE_USE_ALT 0x100
+#define BOOT_MODE_ALT_SHIFT 12
#define ZYNQMP_IOU_SLCR_BASEADDR 0xFF180000