From e3f3e2edb4f45ff5f53df3a3b4012bc5e60f1bb8 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Fri, 18 Jan 2008 15:33:10 +0000 Subject: Rename LinuxBIOS to coreboot Corresponding to flashrom svn r178 and coreboot v2 svn r3054. Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer --- lbtable.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lbtable.c') diff --git a/lbtable.c b/lbtable.c index a56afc7..1cca964 100644 --- a/lbtable.c +++ b/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; } -- cgit v1.1