From: David Woodhouse David.Woodhouse@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@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)