Browse Source

ARM64: zynqmp: Extend page_table_size

0xc000 is not sufficient page table size if dc4 with 4 gems
is enabled.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek 9 years ago
parent
commit
9c152edd12
1 changed files with 5 additions and 0 deletions
  1. 5 0
      arch/arm/cpu/armv8/zynqmp/cpu.c

+ 5 - 0
arch/arm/cpu/armv8/zynqmp/cpu.c

@@ -63,6 +63,11 @@ static struct mm_region zynqmp_mem_map[] = {
 };
 struct mm_region *mem_map = zynqmp_mem_map;
 
+u64 get_page_table_size(void)
+{
+	return 0x14000;
+}
+
 static unsigned int zynqmp_get_silicon_version_secure(void)
 {
 	u32 ver;