U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Griffin <peter.griffin@linaro.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 8/8] ARM: hikey: Adjust SDRAM_1_SIZE to 0x3EFFFFFF
Date: Thu, 10 Sep 2015 21:55:18 +0100	[thread overview]
Message-ID: <1441918518-25629-9-git-send-email-peter.griffin@linaro.org> (raw)
In-Reply-To: <1441918518-25629-1-git-send-email-peter.griffin@linaro.org>

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

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

  parent reply	other threads:[~2015-09-10 20:55 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-10 20:55 [U-Boot] [PATCH v2 0/8] arm: hikey: hi6220: Various fixups Peter Griffin
2015-09-10 20:55 ` [U-Boot] [PATCH v2 1/8] ARM: hikey: Update README with various corrections Peter Griffin
2015-09-28 21:07   ` [U-Boot] [U-Boot, v2, " Tom Rini
2015-09-10 20:55 ` [U-Boot] [PATCH v2 2/8] ARM: hikey: Add ATF makefile referenced by README Peter Griffin
2015-09-24 21:09   ` Tom Rini
2015-09-28 21:07   ` [U-Boot] [U-Boot, v2, " Tom Rini
2015-09-10 20:55 ` [U-Boot] [PATCH v2 3/8] ARM: hikey: Use linux/sizes.h for malloc size Peter Griffin
2015-09-18  4:03   ` Simon Glass
2015-09-28 21:07   ` [U-Boot] [U-Boot, v2, " Tom Rini
2015-09-10 20:55 ` [U-Boot] [PATCH v2 4/8] ARM: hi6220: Add UART0 and UART3 base addresses Peter Griffin
2015-09-18  4:03   ` Simon Glass
2015-09-28 21:07   ` [U-Boot] [U-Boot, v2, " Tom Rini
2015-09-10 20:55 ` [U-Boot] [PATCH v2 5/8] ARM: hikey: Remove resetting gd->flags in board_init() Peter Griffin
2015-09-18  4:04   ` Simon Glass
2015-09-28 21:08   ` [U-Boot] [U-Boot, v2, " Tom Rini
2015-09-10 20:55 ` [U-Boot] [PATCH v2 6/8] ARM: hikey: Select DM, DM_GPIO from Kconfig Peter Griffin
2015-09-18  4:04   ` Simon Glass
2015-09-28 21:08   ` [U-Boot] [U-Boot, v2, " Tom Rini
2015-09-10 20:55 ` [U-Boot] [PATCH v2 7/8] ARM: hikey: hi6220: Migrate over to DM_SERIAL and use UART3 by default Peter Griffin
2015-09-18  4:04   ` Simon Glass
2015-09-28 21:08   ` [U-Boot] [U-Boot, v2, " Tom Rini
2015-09-10 20:55 ` Peter Griffin [this message]
2015-09-18  4:04   ` [U-Boot] [PATCH v2 8/8] ARM: hikey: Adjust SDRAM_1_SIZE to 0x3EFFFFFF Simon Glass
2015-09-28 21:08   ` [U-Boot] [U-Boot, v2, " Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1441918518-25629-9-git-send-email-peter.griffin@linaro.org \
    --to=peter.griffin@linaro.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox