diff options
author | Michal Simek <michal.simek@xilinx.com> | 2015-08-05 05:50:16 (GMT) |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2015-08-19 09:25:50 (GMT) |
commit | 37ecd04fe3c64c43703e61182b571705a35928a5 (patch) | |
tree | 162db74f91a51f08f9da24e225789f4eaefd9206 /arch/arm/cpu | |
parent | cb526c1c88e2a35033cc00dde931b926536fd42b (diff) | |
download | u-boot-fsl-qoriq-37ecd04fe3c64c43703e61182b571705a35928a5.tar.xz |
ARM: zynqmp: Add platform specific arch_get_page_table
Based on the patch:
"armv8: caches: Added routine to set non cacheable region"
(sha1: dad17fd51027ad02ac8f02deed186d08109d61fd)
it is necessary to add platform specific hook.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/arm/cpu')
-rw-r--r-- | arch/arm/cpu/armv8/zynqmp/cpu.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv8/zynqmp/cpu.c b/arch/arm/cpu/armv8/zynqmp/cpu.c index 60d7d20..f90cca3 100644 --- a/arch/arm/cpu/armv8/zynqmp/cpu.c +++ b/arch/arm/cpu/armv8/zynqmp/cpu.c @@ -191,4 +191,9 @@ void enable_caches(void) set_sctlr(get_sctlr() | CR_C); } + +u64 *arch_get_page_table(void) +{ + return (u64 *)(gd->arch.tlb_addr + 0x3000); +} #endif |