summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/i386/boot/coreboot_table.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/i386/boot/coreboot_table.c b/src/arch/i386/boot/coreboot_table.c
index d956b127a9..6a45e4bac5 100644
--- a/src/arch/i386/boot/coreboot_table.c
+++ b/src/arch/i386/boot/coreboot_table.c
@@ -185,6 +185,7 @@ static struct lb_mainboard *lb_mainboard(struct lb_header *header)
return mainboard;
}
+#if (CONFIG_HAVE_OPTION_TABLE == 1)
static struct cmos_checksum *lb_cmos_checksum(struct lb_header *header)
{
struct lb_record *rec;
@@ -202,6 +203,7 @@ static struct cmos_checksum *lb_cmos_checksum(struct lb_header *header)
return cmos_checksum;
}
+#endif
static void lb_strings(struct lb_header *header)
{