diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-03-30 08:20:37 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-03-30 08:20:37 +0000 |
commit | 9b70cb624387999787683bd5279f11f922debf7e (patch) | |
tree | d0dc9968cf330e7ee502fa0577930bba0db988e0 | |
parent | 9050b71802b801b24544013e6a515350b615ee68 (diff) | |
download | coreboot-9b70cb624387999787683bd5279f11f922debf7e.tar.xz |
fix ms9652_fam10
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5324 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r-- | src/arch/i386/boot/pirq_routing.c | 4 | ||||
-rw-r--r-- | src/arch/i386/include/arch/pirq_routing.h | 4 | ||||
-rw-r--r-- | src/mainboard/msi/ms9652_fam10/Kconfig | 8 |
3 files changed, 7 insertions, 9 deletions
diff --git a/src/arch/i386/boot/pirq_routing.c b/src/arch/i386/boot/pirq_routing.c index 0c6269da55..86a3500444 100644 --- a/src/arch/i386/boot/pirq_routing.c +++ b/src/arch/i386/boot/pirq_routing.c @@ -3,10 +3,6 @@ #include <string.h> #include <device/pci.h> -#ifndef CONFIG_IRQ_SLOT_COUNT -#warning "CONFIG_IRQ_SLOT_COUNT is not defined. PIRQ won't work correctly." -#endif - #if CONFIG_DEBUG static void check_pirq_routing_table(struct irq_routing_table *rt) { diff --git a/src/arch/i386/include/arch/pirq_routing.h b/src/arch/i386/include/arch/pirq_routing.h index b58b390afe..0b65eac29b 100644 --- a/src/arch/i386/include/arch/pirq_routing.h +++ b/src/arch/i386/include/arch/pirq_routing.h @@ -17,8 +17,8 @@ struct irq_info { u8 rfu; } __attribute__((packed)); -#if !defined(CONFIG_IRQ_SLOT_COUNT) -#error "No IRQ_SLOT_COUNT in Kconfig." +#ifndef CONFIG_IRQ_SLOT_COUNT +#warning "IRQ_SLOT_COUNT is not defined in Kconfig. PIRQ won't work correctly." #endif struct irq_routing_table { diff --git a/src/mainboard/msi/ms9652_fam10/Kconfig b/src/mainboard/msi/ms9652_fam10/Kconfig index 7b71295741..5e45051d45 100644 --- a/src/mainboard/msi/ms9652_fam10/Kconfig +++ b/src/mainboard/msi/ms9652_fam10/Kconfig @@ -42,9 +42,11 @@ config GENERATE_PIRQ_TABLE default y depends on BOARD_MSI_MS9652_FAM10 -config CONFIG_IRQ_SLOT_COUNT - hex - default 0x0b +# Define to 0 because the IRQ slot count is +# determined dynamically for this board. +config IRQ_SLOT_COUNT + int + default 0 depends on BOARD_MSI_MS9652_FAM10 config HAVE_OPTION_TABLE |