diff options
author | Michal Simek <michal.simek@xilinx.com> | 2015-07-29 11:10:02 (GMT) |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2015-08-19 09:23:13 (GMT) |
commit | cb526c1c88e2a35033cc00dde931b926536fd42b (patch) | |
tree | cd99a8baa5bb98c22de0dba70adc69dc6838b2f3 /arch/arm/include | |
parent | 0f9258228e2b2070368ffccf5c243218128770a8 (diff) | |
download | u-boot-cb526c1c88e2a35033cc00dde931b926536fd42b.tar.xz |
zynqmp: Enable U-Boot run in EL3
Enable Secure IOU setup to enable U-Boot to run in EL3 without
setting from ATF.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/arch-zynqmp/hardware.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-zynqmp/hardware.h b/arch/arm/include/asm/arch-zynqmp/hardware.h index 7640eab..f655d72 100644 --- a/arch/arm/include/asm/arch-zynqmp/hardware.h +++ b/arch/arm/include/asm/arch-zynqmp/hardware.h @@ -44,7 +44,11 @@ struct crlapb_regs { #define crlapb_base ((struct crlapb_regs *)ZYNQMP_CRL_APB_BASEADDR) +#if defined(CONFIG_SECURE_IOU) +#define ZYNQMP_IOU_SCNTR 0xFF260000 +#else #define ZYNQMP_IOU_SCNTR 0xFF250000 +#endif #define ZYNQMP_IOU_SCNTR_COUNTER_CONTROL_REGISTER_EN 0x1 #define ZYNQMP_IOU_SCNTR_COUNTER_CONTROL_REGISTER_HDBG 0x2 |