]> git.sur5r.net Git - u-boot/commitdiff
ARM: hikey: Adjust SDRAM_1_SIZE to 0x3EFFFFFF
authorPeter Griffin <peter.griffin@linaro.org>
Thu, 10 Sep 2015 20:55:18 +0000 (21:55 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 28 Sep 2015 14:48:23 +0000 (10:48 -0400)
DRAM region 0x3f000000 - 0x3fffffff is reserved for OP-TEE. Touching
0x3f000000 memory location from unsecure world causes the board
to hang.

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
include/configs/hikey.h

index b7c22e8c48afcdaf94d7b178426a8217b7c7551c..3af02132f879a622fcbc3d6c899300dd413cb369 100644 (file)
@@ -42,7 +42,8 @@
 #define PHYS_SDRAM_1                   0x00000000
 
 /* 1008 MB (the last 16Mb are secured for TrustZone by ATF*/
-#define PHYS_SDRAM_1_SIZE              0x3f000000
+#define PHYS_SDRAM_1_SIZE              0x3EFFFFFF
+
 #define CONFIG_SYS_SDRAM_BASE          PHYS_SDRAM_1
 
 #define CONFIG_SYS_INIT_RAM_SIZE       0x1000