summaryrefslogtreecommitdiff
path: root/util/cbfstool/cbfstool.h
diff options
context:
space:
mode:
authorMyles Watson <mylesgw@gmail.com>2009-04-25 12:39:04 +0000
committerMyles Watson <mylesgw@gmail.com>2009-04-25 12:39:04 +0000
commit72631a01fa42cd419f8b40351cc7306fe149e334 (patch)
treefab3aade85bc7907ec688a46c63c8242419934d9 /util/cbfstool/cbfstool.h
parentfe6201651233fbeff7aaef84211286e7716bf8a9 (diff)
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 <mylesgw@gmail.com> Acked-by: Peter Stuge <peter@stuge.se> Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4209 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/cbfstool/cbfstool.h')
-rw-r--r--util/cbfstool/cbfstool.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/cbfstool/cbfstool.h b/util/cbfstool/cbfstool.h
index f36b28684c..f90b5670d0 100644
--- a/util/cbfstool/cbfstool.h
+++ b/util/cbfstool/cbfstool.h
@@ -58,7 +58,8 @@ struct rom {
/* util.c */
int open_rom(struct rom *rom, const char *filename);
int create_rom(struct rom *rom, const unsigned char *filename, int size,
- int bootblocksize, int align);
+ const unsigned char *bootblockname, int bootblocksize,
+ int align);
int size_and_open(const char *filename, unsigned int *size);
int copy_from_fd(int fd, void *ptr, int size);
int get_size(const char *size);