diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2008-01-18 15:33:10 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2008-01-18 15:33:10 +0000 |
commit | 8df401db3bb6419c8fc9339dcc505332dff33bfe (patch) | |
tree | b340b49e0c8fe1388de86a02af6e59cf77107523 /util/flashrom/lbtable.c | |
parent | f8ee1806ac524bc782c93eccc59ee3c929abddb9 (diff) |
for some reasons the externals did not get committed.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3054 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/flashrom/lbtable.c')
-rw-r--r-- | util/flashrom/lbtable.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/util/flashrom/lbtable.c b/util/flashrom/lbtable.c index a56afc7640..1cca964c22 100644 --- a/util/flashrom/lbtable.c +++ b/util/flashrom/lbtable.c @@ -124,7 +124,7 @@ static struct lb_header *find_lb_table(void *base, unsigned long start, head->table_checksum); continue; } - fprintf(stdout, "Found LinuxBIOS table at 0x%08lx.\n", addr); + fprintf(stdout, "Found coreboot table at 0x%08lx.\n", addr); return head; }; @@ -181,7 +181,7 @@ static void search_lb_records(struct lb_record *rec, struct lb_record *last, } } -int linuxbios_init(void) +int coreboot_init(void) { uint8_t *low_1MB; struct lb_header *lb_table; @@ -201,16 +201,16 @@ int linuxbios_init(void) if (lb_table) { unsigned long addr; addr = ((char *)lb_table) - ((char *)low_1MB); - printf_debug("LinuxBIOS 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("LinuxBIOS 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); search_lb_records(rec, last, addr + lb_table->header_bytes); } else { - printf("No LinuxBIOS table found.\n"); + printf("No coreboot table found.\n"); return -1; } |