Skip to content

Commit

Permalink
zynqmp: Enable U-Boot run without ATF
Browse files Browse the repository at this point in the history
Enable Secure IOU setup to enable U-Boot to run without setting from
ATF.

Signed-off-by: Michal Simek <[email protected]>
  • Loading branch information
Michal Simek committed Jul 29, 2015
1 parent 3686272 commit feb21bf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/arm/cpu/armv8/zynqmp/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ config SYS_SOC
config SYS_CONFIG_NAME
default "xilinx_zynqmp_ep" if TARGET_ZYNQMP_EP

config SECURE_IOU
bool "Configure ZynqMP secure IOU"
default n

config ZYNQMP_QSPI
bool "Configure ZynqMP QSPI"

Expand Down
4 changes: 4 additions & 0 deletions arch/arm/include/asm/arch-zynqmp/hardware.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,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

Expand Down

0 comments on commit feb21bf

Please sign in to comment.