From: Tetsuyuki Kobayashi <koba@kmckk.co.jp>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] arm: rmobile: kzm9g: Modify sdram area
Date: Mon, 25 Jun 2012 20:13:32 +0900 [thread overview]
Message-ID: <4FE847DC.6050005@kmckk.co.jp> (raw)
This patch depends on Nobuhiro Iwamatsu's arm: rmobile: Add supoprt for KMC KZM-A9-GT board
Reserve first 16MB for RT-CPU (as same as kernel config).
Without this patch, kernel can't get ATAGS info from u-boot properly.
Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp>
---
include/configs/kzm_a9_gt.h | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/include/configs/kzm_a9_gt.h b/include/configs/kzm_a9_gt.h
index 48b7afa..4749ca7 100644
--- a/include/configs/kzm_a9_gt.h
+++ b/include/configs/kzm_a9_gt.h
@@ -93,8 +93,9 @@
#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_INIT_RAM_ADDR + \
CONFIG_SYS_INIT_RAM_SIZE - \
GENERATED_GBL_DATA_SIZE)
-#define CONFIG_SYS_SDRAM_BASE KZM_SDRAM_BASE
-#define CONFIG_SYS_SDRAM_SIZE PHYS_SDRAM_SIZE
+#define CONFIG_SDRAM_OFFSET_FOR_RT (1 * 16 * 1024 * 1024)
+#define CONFIG_SYS_SDRAM_BASE (KZM_SDRAM_BASE + CONFIG_SDRAM_OFFSET_FOR_RT)
+#define CONFIG_SYS_SDRAM_SIZE (PHYS_SDRAM_SIZE - CONFIG_SDRAM_OFFSET_FOR_RT)
#define CONFIG_SYS_LOAD_ADDR (CONFIG_SYS_SDRAM_BASE + 32 * 1024 * 1024)
#define CONFIG_SYS_MONITOR_BASE (KZM_FLASH_BASE)
--
1.7.9.5
next reply other threads:[~2012-06-25 11:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-25 11:13 Tetsuyuki Kobayashi [this message]
2012-07-05 7:00 ` [U-Boot] [PATCH] arm: rmobile: kzm9g: Modify sdram area Nobuhiro Iwamatsu
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=4FE847DC.6050005@kmckk.co.jp \
--to=koba@kmckk.co.jp \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.