[PATCH 1/2] pxa/vpac270: Enable SparseMEM for 256 MB of RAM
Marek Vasut
marek.vasut at gmail.com
Tue May 4 17:06:45 EDT 2010
Dne Út 4. května 2010 22:55:50 Jonathan McDowell napsal(a):
> On Tue, May 04, 2010 at 06:57:08PM +0200, Marek Vasut wrote:
> > This patch enables SparseMEM for the Voipac PXA270 board. To work
> > around the PHYS_OFFSET being set to 0xa0000000 and disallowing us to
> > map the other partition at 0x80000000, the physical-to-virtual mapping
> > of SDRAM was altered and the partition at 0x80000000 was moved to
> > 0x10000000 in virtual memory (past the first SDRAM partition). As the
> > Voipac PXA270 is probably the only PXA270 device which utilizes 256 MB
> > of RAM, adding the following code into memory.h seems much less
> > painful than tinkering with PHYS_OFFSET.
>
> ...
>
> > +/*
> > + * Voipac PXA270/PXA270M is probably the only board in the world with
> > PXA27x + * that uses more than 128MB or SDRAM (256MB in the 'max
> > configuration'). This
>
> I think you mean "of SDRAM" here and the Balloon3 can be configured with
> up to 512M (I'm pretty sure there were a few boards that had 768M on
> them too, but I can't find any confirmation of that) and is a PXA270
> board.
>
> J.
Those are not mainline yet and if anyone plans to push them, let's hope the
dynamic PHYS_OFFSET patchset is already in. As I said, this is a temporary
workaround and will go away eventually.
More information about the linux-arm-kernel
mailing list