[PATCH 01/20] ARM: S5PC100: use 0x30008000 as memory base

Marek Szyprowski m.szyprowski at samsung.com
Fri Dec 4 02:46:28 EST 2009


Hello,

On Friday, November 20, 2009 3:43 PM jassi brar wrote:

> On Fri, Nov 20, 2009 at 10:42 PM, Marek Szyprowski
> <m.szyprowski at samsung.com> wrote:
> > From: Kyungmin Park <kyungmin.park at samsung.com>
> >
> > We decided to use 0x3000'0000 as base memory address on S5PC1XX SoCs
> > (s5pc100 and s5pc110).
> you might as well want to explain the reason behind it, if any?

We decided to change the base memory address to 0x30000000 to be able to
support systems with 512MB in the second bank (DRAM1) without using HIMEM.
In first bank (DRAM0), which is integrated with SOC (POP) we would always
have no more than 256MB of memory. If we would leave the first bank at
0x2000'0000, we would lose 256MB of kernel virtual address space for
useless memory hole. With this patch (and proper u-boot) we can run kernel
on systems with max 256MB + 512MB of memory in 1GB kernel/3GB userspace
address space configuration.

Best regards
--
Marek Szyprowski
Samsung Poland R&D Center




More information about the linux-arm-kernel mailing list