diff options
author | Michal Simek <michal.simek@xilinx.com> | 2017-01-09 10:05:16 +0100 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2017-01-10 10:22:05 +0100 |
commit | 509d4b9545d82179d5854eddb928c0055702dc67 (patch) | |
tree | 486574b9828156fd9930b29f0d27b3bc31439164 /arch/arm/include/asm/arch-zynqmp/hardware.h | |
parent | 5cf22289aeaf0c84dcb55c629ae4ed72112024cc (diff) | |
download | u-boot-509d4b9545d82179d5854eddb928c0055702dc67.tar.gz |
ARM64: zynqmp: Generate handoff structure for ATF
Xilinx ATF extending options for passing images from BL2(FSBL)
to BL31. U-Boot SPL is FSBL replacement that's why it should generate
handoff structure the same. Support only one entry which is U-Boot in
EL2 itself. When FIT image is adopted structure generate should be data
driven.
Currently ATF is placing this structure at the beggining of OCM which is
rewriting early parts of ATF which should be unused at that time.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/arm/include/asm/arch-zynqmp/hardware.h')
-rw-r--r-- | arch/arm/include/asm/arch-zynqmp/hardware.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-zynqmp/hardware.h b/arch/arm/include/asm/arch-zynqmp/hardware.h index 041b43cfe0..cf187f3111 100644 --- a/arch/arm/include/asm/arch-zynqmp/hardware.h +++ b/arch/arm/include/asm/arch-zynqmp/hardware.h @@ -144,4 +144,13 @@ struct csu_regs { #define csu_base ((struct csu_regs *)ZYNQMP_CSU_BASEADDR) +#define ZYNQMP_PMU_BASEADDR 0xFFD80000 + +struct pmu_regs { + u32 reserved[18]; + u32 gen_storage6; /* 0x48 */ +}; + +#define pmu_base ((struct pmu_regs *)ZYNQMP_PMU_BASEADDR) + #endif /* _ASM_ARCH_HARDWARE_H */ |