[coreboot] [PATCH]clean up bootblocksize handling in cbfstool, kconfig
Patrick Georgi
patrick at georgi-clan.de
Wed Nov 11 22:32:40 CET 2009
Am 11.11.2009 21:28, schrieb Myles Watson:
> On Wed, Nov 11, 2009 at 1:16 PM, Patrick Georgi<patrick at georgi-clan.de> wrote:
>
>
>> 3. 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 Georgi<patrick.georgi at coresystems.de>
>>
> Acked-by: Myles Watson<mylesgw at gmail.com>
>
Thanks, r4934
Patrick
More information about the coreboot
mailing list