projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb526c1
)
ARM: zynqmp: Add platform specific arch_get_page_table
author
Michal Simek
<michal.simek@xilinx.com>
Wed, 5 Aug 2015 05:50:16 +0000
(07:50 +0200)
committer
Michal Simek
<michal.simek@xilinx.com>
Wed, 19 Aug 2015 09:25:50 +0000
(11:25 +0200)
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>
arch/arm/cpu/armv8/zynqmp/cpu.c
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/armv8/zynqmp/cpu.c
b/arch/arm/cpu/armv8/zynqmp/cpu.c
index 60d7d20e17c8492557962dc1891ba55bbe4577d3..f90cca36aa72ab0f30d30af16a87bbc6f37bb8d4 100644
(file)
--- 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