diff mbox

[v2,8/8] ARM: hikey: Adjust SDRAM_1_SIZE to 0x3EFFFFFF

Message ID 1441918518-25629-9-git-send-email-peter.griffin@linaro.org
State Accepted
Commit 05e682d46799de7be0ed3200ae2543d47a35fe7b
Headers show

Commit Message

Peter Griffin Sept. 10, 2015, 8:55 p.m. UTC
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>
---
 include/configs/hikey.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Simon Glass Sept. 18, 2015, 4:04 a.m. UTC | #1
On 10 September 2015 at 14:55, Peter Griffin <peter.griffin@linaro.org> wrote:
> 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>
> ---
>  include/configs/hikey.h | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg@chromium.org>
Tom Rini Sept. 28, 2015, 9:08 p.m. UTC | #2
On Thu, Sep 10, 2015 at 09:55:18PM +0100, Peter Griffin wrote:

> 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>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/include/configs/hikey.h b/include/configs/hikey.h
index b7c22e8..3af0213 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