cbfstool reacts to a too large bootblock file by stopping
with an error code now. Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4329 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
fff87d31ca
commit
c7a6447c8f
|
@ -222,7 +222,8 @@ int create_rom(struct rom *rom, const unsigned char *filename,
|
|||
rom->header->align = htonl(align);
|
||||
rom->header->offset = htonl(0);
|
||||
|
||||
add_bootblock(rom, bootblockname);
|
||||
if (add_bootblock(rom, bootblockname) == -1)
|
||||
return -1;
|
||||
|
||||
/* Write the cbfs master header address at the end of the ROM. */
|
||||
|
||||
|
|
Loading…
Reference in New Issue