summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Griffin <peter.griffin@linaro.org>2015-09-10 21:55:18 +0100
committerTom Rini <trini@konsulko.com>2015-09-28 10:48:23 -0400
commit05e682d46799de7be0ed3200ae2543d47a35fe7b (patch)
treec3f6bcd5125ad7ee91cf01870f3ebcc8eeeae2ac
parent9c71bcdc81b5d5a7acafb4e2b860e3ce68db6108 (diff)
downloadtalos-obmc-uboot-05e682d46799de7be0ed3200ae2543d47a35fe7b.tar.gz
talos-obmc-uboot-05e682d46799de7be0ed3200ae2543d47a35fe7b.zip
ARM: hikey: Adjust SDRAM_1_SIZE to 0x3EFFFFFF
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>
-rw-r--r--include/configs/hikey.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/configs/hikey.h b/include/configs/hikey.h
index b7c22e8c48..3af02132f8 100644
--- a/include/configs/hikey.h
+++ b/include/configs/hikey.h
@@ -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
OpenPOWER on IntegriCloud