diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2008-01-18 15:33:10 +0000 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2008-01-18 15:33:10 +0000 |
commit | e3f3e2edb4f45ff5f53df3a3b4012bc5e60f1bb8 (patch) | |
tree | f2e011db66093d0ccda872ed7a73f3ff2d1eccb0 /lbtable.c | |
parent | a3f8a6416616588021f21b893e673cc67a71bc3f (diff) | |
download | ast2050-flashrom-e3f3e2edb4f45ff5f53df3a3b4012bc5e60f1bb8.zip ast2050-flashrom-e3f3e2edb4f45ff5f53df3a3b4012bc5e60f1bb8.tar.gz |
Rename LinuxBIOS to coreboot
Corresponding to flashrom svn r178 and coreboot v2 svn r3054.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
Diffstat (limited to 'lbtable.c')
-rw-r--r-- | lbtable.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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; } |