diff options
author | Martin Roth <martinroth@google.com> | 2015-11-27 13:05:04 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2015-12-06 18:46:12 +0100 |
commit | 7c38e1e8bc47c2842b23c565a35f8d959428ec3c (patch) | |
tree | 8c85b6227ae2d72c37f77cc68483778bb34e450b /src/arch | |
parent | 19fbdcc8283e0e499cb517d1149225bfadc61f03 (diff) |
Remove #ifdef checks on Kconfig symbols
In coreboot, bool, hex, and int type symbols are ALWAYS defined.
Change-Id: I58a36b37075988bb5ff67ac692c7d93c145b0dbc
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/12560
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/x86/acpi.c | 5 | ||||
-rw-r--r-- | src/arch/x86/include/arch/pirq_routing.h | 4 |
2 files changed, 0 insertions, 9 deletions
diff --git a/src/arch/x86/acpi.c b/src/arch/x86/acpi.c index ccaab9ef74..2c690c45c4 100644 --- a/src/arch/x86/acpi.c +++ b/src/arch/x86/acpi.c @@ -38,11 +38,6 @@ #include <timestamp.h> #include <romstage_handoff.h> -/* FIXME: Kconfig doesn't support overridable defaults :-( */ -#ifndef CONFIG_HPET_MIN_TICKS -#define CONFIG_HPET_MIN_TICKS 0x1000 -#endif - u8 acpi_checksum(u8 *table, u32 length) { u8 ret = 0; diff --git a/src/arch/x86/include/arch/pirq_routing.h b/src/arch/x86/include/arch/pirq_routing.h index 542093c8bf..d1390ba981 100644 --- a/src/arch/x86/include/arch/pirq_routing.h +++ b/src/arch/x86/include/arch/pirq_routing.h @@ -43,10 +43,6 @@ struct irq_info { u8 rfu; } __attribute__((packed)); -#ifndef CONFIG_IRQ_SLOT_COUNT -#warning "IRQ_SLOT_COUNT is not defined in Kconfig. PIRQ won't work correctly." -#endif - struct irq_routing_table { u32 signature; /* PIRQ_SIGNATURE should be here */ u16 version; /* PIRQ_VERSION */ |