diff options
author | Peter Stuge <peter@stuge.se> | 2009-01-26 00:19:36 +0000 |
---|---|---|
committer | Peter Stuge <peter@stuge.se> | 2009-01-26 00:19:36 +0000 |
commit | 8dec57fe0c3721d7ced7b7aa41e90980867e1299 (patch) | |
tree | a4aa1d173e3404d875f483e2fef8c0965eb8db6d /util/flashrom | |
parent | e03d84af694259c309c1b06ef659302a45674a6b (diff) |
flashrom: Forgot some things in r3899.
Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3900 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/flashrom')
-rw-r--r-- | util/flashrom/cbtable.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/flashrom/cbtable.c b/util/flashrom/cbtable.c index ddbb9cb879..25c3ee2d3e 100644 --- a/util/flashrom/cbtable.c +++ b/util/flashrom/cbtable.c @@ -197,17 +197,17 @@ int coreboot_init(void) } lb_table = find_lb_table(low_1MB, 0x00000, 0x1000); if (!lb_table) - lb_table = find_lb_table(low_1MB, 0xf0000, 1024 * 1024); + lb_table = find_lb_table(low_1MB, 0xf0000, 1024*1024); if (!lb_table) { printf("No coreboot table found.\n"); return -1; } addr = ((char *)lb_table) - ((char *)low_1MB); - printf_debug("Coreboot table found at %p.\n", lb_table); + printf_debug("coreboot table found at %p.\n", lb_table); rec = (struct lb_record *)(((char *)lb_table) + lb_table->header_bytes); last = (struct lb_record *)(((char *)rec) + lb_table->table_bytes); - printf_debug("Coreboot header(%d) checksum: %04x table(%d) checksum: %04x entries: %d\n", + printf_debug("coreboot header(%d) checksum: %04x table(%d) checksum: %04x entries: %d\n", lb_table->header_bytes, lb_table->header_checksum, lb_table->table_bytes, lb_table->table_checksum, lb_table->table_entries); |