[coreboot] [PATCH]clean up bootblocksize handling in cbfstool, kconfig

Patrick Georgi patrick at georgi-clan.de
Wed Nov 11 21:16:12 CET 2009


Hi,

attached patch cleans up the bootblock size handling:
1. cbfstool create does no longer take a value it doesn't parse anyway 
(bootblocksize), but creates a bootblock of the size of the file that's 
filled in.

2. kconfig and newconfig are adapted to not pass the value

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)

4. BOOTBLOCK_SIZE in src/arch/i386/Makefile.inc isn't used anymore, so 
it's dropped.

Change #1 requires #2, so mixing cbfstool versions must not happen (but 
usually won't happen)

Signed-off-by: Patrick Georgi <patrick.georgi at coresystems.de>


Patrick
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 20091111-2-clean-up-bootblocksize-handling
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20091111/b08f8844/attachment.ksh>


More information about the coreboot mailing list