[coreboot] [PATCH]Enable suffixes for cbfstool create size argument

Patrick Georgi patrick.georgi at coresystems.de
Mon Dec 21 14:21:30 CET 2009


attached patch allows to specify the size of a newly created cbfs image
to be stated in kilobytes or megabytes. Usage is
cbfstool coreboot.rom create 1048576 coreboot.bootblock
cbfstool coreboot.rom create 1024k coreboot.bootblock
cbfstool coreboot.rom create 1m coreboot.bootblock
to get an 1048576 bytes = 1024kb = 1mb image.

Kconfig also uses this instead of calculating bytes from kilobytes itself.

Signed-off-by: Patrick Georgi <patrick.georgi at coresystems.de>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 20091221-2-cbfstool-create-size-suffix-support
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20091221/a0ab09be/attachment.ksh>

More information about the coreboot mailing list