Am 11.11.2009 21:28, schrieb Myles Watson:
On Wed, Nov 11, 2009 at 1:16 PM, Patrick Georgipatrick@georgi-clan.de wrote:
- CONFIG_ROMBASE in kconfig isn't set to the ROM size, but to 4GB-64KB, ie.
the standard start address of the bootblock. That's how it's used anyway (which didn't show because the linker script moves into top 64K if necessary)
This doesn't seem like it should be a config option any more.
Ideally, it will become some automatic "as small as possible" configuration. Unfortunately ld doesn't allow to align everything to an upper boundary, so this requires the link-twice trick or so. So for now, I'd like to keep it there - people might want to tweak it. As an example (which made me look into this in the first place), someone (agaran) on #coreboot wanted to use a smaller bootblock. Until this automatically happens, we'll have to allow this to change.
kconfig is just as good as any place in my opinion.
Signed-off-by: Patrick Georgipatrick.georgi@coresystems.de
Acked-by: Myles Watsonmylesgw@gmail.com
Thanks, r4934
Patrick