From: kmpark@infradead.org (Kyungmin Park)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] s5pv210: Change the base ram address to 0x3000'0000
Date: Fri, 28 May 2010 11:35:59 +0900 [thread overview]
Message-ID: <20100528023559.GA8174@july> (raw)
s5pc110 (aka s5pv210) has 2 DRAM port and used it both usually.
Assume DMC0 starts with 0x2000'0000 with 128MiB.
DMC1 starts with 0x4000'0000 with 128MiB.
Note that DMC1 has to start address 0x4000'0000 at least.
Then there's too much memory hole 0x1800'0000 (128MiB + 256MiB)
To reduce memory waste, the DMC0 start with 0x3000'0000.
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
---
diff --git a/arch/arm/mach-s5pv210/Makefile.boot b/arch/arm/mach-s5pv210/Makefile.boot
index ff90aa1..b0909e3 100644
--- a/arch/arm/mach-s5pv210/Makefile.boot
+++ b/arch/arm/mach-s5pv210/Makefile.boot
@@ -1,2 +1,2 @@
- zreladdr-y := 0x20008000
-params_phys-y := 0x20000100
+ zreladdr-y := 0x30008000
+params_phys-y := 0x30000100
diff --git a/arch/arm/mach-s5pv210/include/mach/map.h b/arch/arm/mach-s5pv210/include/mach/map.h
index 34eb168..9f4c368 100644
--- a/arch/arm/mach-s5pv210/include/mach/map.h
+++ b/arch/arm/mach-s5pv210/include/mach/map.h
@@ -74,7 +74,7 @@
#define S5PV210_PA_VIC3 (0xF2300000)
#define S5P_PA_VIC3 S5PV210_PA_VIC3
-#define S5PV210_PA_SDRAM (0x20000000)
+#define S5PV210_PA_SDRAM (0x30000000)
#define S5P_PA_SDRAM S5PV210_PA_SDRAM
/* I2S */
diff --git a/arch/arm/mach-s5pv210/include/mach/memory.h b/arch/arm/mach-s5pv210/include/mach/memory.h
index 379117e..07a15d8 100644
--- a/arch/arm/mach-s5pv210/include/mach/memory.h
+++ b/arch/arm/mach-s5pv210/include/mach/memory.h
@@ -13,7 +13,7 @@
#ifndef __ASM_ARCH_MEMORY_H
#define __ASM_ARCH_MEMORY_H
-#define PHYS_OFFSET UL(0x20000000)
+#define PHYS_OFFSET UL(0x30000000)
#define CONSISTENT_DMA_SIZE (SZ_8M + SZ_4M + SZ_2M)
/* Maximum of 256MiB in one bank */
next reply other threads:[~2010-05-28 2:35 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-28 2:35 Kyungmin Park [this message]
2010-05-28 3:53 ` [PATCH] s5pv210: Change the base ram address to 0x3000'0000 Ben Dooks
2010-05-28 4:02 ` Kyungmin Park
2010-05-28 4:20 ` Ben Dooks
2010-05-28 5:25 ` Kyungmin Park
2010-05-28 6:02 ` Ben Dooks
2010-05-28 6:19 ` Kyungmin Park
2010-05-28 7:09 ` Ben Dooks
2010-05-28 14:17 ` Kyungmin Park
2010-05-31 0:18 ` Kukjin Kim
2010-05-31 0:39 ` Ben Dooks
2010-05-31 0:47 ` Kyungmin Park
2010-05-31 0:56 ` Kyungmin Park
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=20100528023559.GA8174@july \
--to=kmpark@infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
/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;
as well as URLs for NNTP newsgroup(s).