From ba43064d3276f3c96bb057ecdfd293cb2ae11a97 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Fri, 6 Apr 2007 12:14:51 +0000 Subject: Trivial patch: * Drop empty file (0 bytes) northbridge/amd/amdk8/cpu_rev.c and references to it. * move config option decision to preprocessor instead of code since config options can not change during runtime * slightly more verbose output in built_opt_tbl.c Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2586 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/arch/i386/boot/linuxbios_table.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/arch/i386') diff --git a/src/arch/i386/boot/linuxbios_table.c b/src/arch/i386/boot/linuxbios_table.c index f1be49bbc6..569692e019 100644 --- a/src/arch/i386/boot/linuxbios_table.c +++ b/src/arch/i386/boot/linuxbios_table.c @@ -365,7 +365,8 @@ unsigned long write_linuxbios_table( low_table_end = (unsigned long)head; } - if (HAVE_OPTION_TABLE == 1) { +#if (HAVE_OPTION_TABLE == 1) + { struct lb_record *rec_dest, *rec_src; /* Write the option config table... */ rec_dest = lb_new_record(head); @@ -374,6 +375,7 @@ unsigned long write_linuxbios_table( /* Create cmos checksum entry in linuxbios table */ lb_cmos_checksum(head); } +#endif /* Record where RAM is located */ mem = build_lb_mem(head); -- cgit v1.2.3