From 72631a01fa42cd419f8b40351cc7306fe149e334 Mon Sep 17 00:00:00 2001 From: Myles Watson Date: Sat, 25 Apr 2009 12:39:04 +0000 Subject: The master cbfs record was located at the end of the flash and overwrote anything that was there. For ck804 or mcp55-based machines that was the romstrap. The fix is simple: 1. Put the master cbfs record above the bootblock instead of on it. Signed-off-by: Myles Watson Acked-by: Peter Stuge Acked-by: Ronald G. Minnich git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4209 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/cbfstool/create.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'util/cbfstool/create.c') diff --git a/util/cbfstool/create.c b/util/cbfstool/create.c index 23e7850952..ecfb21c956 100644 --- a/util/cbfstool/create.c +++ b/util/cbfstool/create.c @@ -59,11 +59,8 @@ int create_handler(struct rom *rom, int argc, char **argv) return -1; } - if (create_rom(rom, rom->name, size, bootblocksize, align)) + if (create_rom(rom, rom->name, size, bootblock, bootblocksize, align)) return -1; - if (bootblock != NULL) - return add_bootblock(rom, bootblock); - return 0; } -- cgit v1.2.3