Subject: Re: Kernel Config Support for 64 MB of Ram on Jornada 728
To: Bryan Vyhmeister <bsd@hub3.net>
From: Brett Lymn <blymn@baesystems.com.au>
List: port-hpcarm
Date: 09/16/2003 10:15:07
On Mon, Sep 15, 2003 at 10:26:50AM -0700, Bryan Vyhmeister wrote:
>
> Wouldn't it be possible to implement this patch with an ifdef?
>

I would humbly suggest that you do something like

#ifndef DRAM_PAGES
#define DRAM_PAGES=8192
#endif
.
.
.

bootconfig.dram[0].pages = DRAM_PAGES;



then in your config you can have

options DRAM_PAGES=16384

or whatever you care to have - that way you don't generate a maze of
ifdef's when/if you get machines with other memory sizes (though this
may not be possible, I don't know :)
 
-- 
Brett Lymn