mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-24 10:58:52 +09:00
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>
This commit is contained in:
parent
0f9258228e
commit
cb526c1c88
@ -20,4 +20,8 @@ config SYS_SOC
|
|||||||
config SYS_CONFIG_NAME
|
config SYS_CONFIG_NAME
|
||||||
default "xilinx_zynqmp_ep" if TARGET_ZYNQMP_EP
|
default "xilinx_zynqmp_ep" if TARGET_ZYNQMP_EP
|
||||||
|
|
||||||
|
config SECURE_IOU
|
||||||
|
bool "Configure ZynqMP secure IOU"
|
||||||
|
default n
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
@ -44,7 +44,11 @@ struct crlapb_regs {
|
|||||||
|
|
||||||
#define crlapb_base ((struct crlapb_regs *)ZYNQMP_CRL_APB_BASEADDR)
|
#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
|
#define ZYNQMP_IOU_SCNTR 0xFF250000
|
||||||
|
#endif
|
||||||
#define ZYNQMP_IOU_SCNTR_COUNTER_CONTROL_REGISTER_EN 0x1
|
#define ZYNQMP_IOU_SCNTR_COUNTER_CONTROL_REGISTER_EN 0x1
|
||||||
#define ZYNQMP_IOU_SCNTR_COUNTER_CONTROL_REGISTER_HDBG 0x2
|
#define ZYNQMP_IOU_SCNTR_COUNTER_CONTROL_REGISTER_HDBG 0x2
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user