All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] ARM: zynqmp: Add platform specific arch_get_page_table
@ 2015-08-05 12:51 Michal Simek
  0 siblings, 0 replies; only message in thread
From: Michal Simek @ 2015-08-05 12:51 UTC (permalink / raw)
  To: u-boot

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 | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/cpu/armv8/zynqmp/cpu.c b/arch/arm/cpu/armv8/zynqmp/cpu.c
index 60d7d20e17c8..f90cca36aa72 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
-- 
2.3.5

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-08-05 12:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-05 12:51 [U-Boot] [PATCH] ARM: zynqmp: Add platform specific arch_get_page_table Michal Simek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.