linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] s5pv210: Change the base ram address to 0x3000'0000
@ 2010-05-28  2:35 Kyungmin Park
  2010-05-28  3:53 ` Ben Dooks
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Kyungmin Park @ 2010-05-28  2:35 UTC (permalink / raw)
  To: linux-arm-kernel

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

^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2010-05-31  0:56 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-28  2:35 [PATCH] s5pv210: Change the base ram address to 0x3000'0000 Kyungmin Park
2010-05-28  3:53 ` 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

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