]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
armv8: layerscape: Allocate 66 MB DDR for secure memory
authorSumit Garg <sumit.garg@nxp.com>
Fri, 1 Sep 2017 08:25:00 +0000 (13:55 +0530)
committerYork Sun <york.sun@nxp.com>
Fri, 27 Oct 2017 15:47:14 +0000 (08:47 -0700)
Change DDR allocated for secure memory from 2 MB to 66 MB. This
additional 64 MB secure memory is required for trusted OS running
in Trusted Execution Environment using ARMv8 TrustZone.

Signed-off-by: Sumit Garg <sumit.garg@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
arch/arm/include/asm/arch-fsl-layerscape/config.h

index a7098be8463e7b6461b602d50ab02799008e452f..95e2791507773233590cdd304cdc30723b41b6aa 100644 (file)
@@ -16,7 +16,7 @@
  * Reserve secure memory
  * To be aligned with MMU block size
  */
-#define CONFIG_SYS_MEM_RESERVE_SECURE  (2048 * 1024)   /* 2MB */
+#define CONFIG_SYS_MEM_RESERVE_SECURE  (66 * 1024 * 1024)      /* 66MB */
 #define SPL_TLB_SETBACK        0x1000000       /* 16MB under effective memory top */
 
 #ifdef CONFIG_ARCH_LS2080A