[SeaBIOS] [PATCH v2 11/19] Clean up #if in pirtable.c. CONFIG_PIRTABLE can't be set if CONFIG_COREBOOT is
David Woodhouse
dwmw2 at infradead.org
Tue Feb 5 17:47:50 CET 2013
From: David Woodhouse <David.Woodhouse at intel.com>
CONFIG_PIRTABLE, along with various other BIOS tables, is only selectable
if CONFIG_QEMU is selected. QEMU/COREBOOT/CSM is a choice, so you can't
enable CONFIG_PIRTABLE if you've selected COREBOOT or CSM. So kill the
excessive #if check for COREBOOT.
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
src/pirtable.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/pirtable.c b/src/pirtable.c
index 62b62b8..8b79791 100644
--- a/src/pirtable.c
+++ b/src/pirtable.c
@@ -17,7 +17,7 @@ struct pir_table {
} PACKED;
extern struct pir_table PIR_TABLE;
-#if CONFIG_PIRTABLE && !CONFIG_COREBOOT
+#if CONFIG_PIRTABLE
struct pir_table PIR_TABLE __aligned(16) VAR16EXPORT = {
.pir = {
.version = 0x0100,
@@ -89,7 +89,7 @@ struct pir_table PIR_TABLE __aligned(16) VAR16EXPORT = {
},
}
};
-#endif // CONFIG_PIRTABLE && !CONFIG_COREBOOT
+#endif // CONFIG_PIRTABLE
void
pirtable_setup(void)
--
1.8.1
More information about the SeaBIOS
mailing list