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
This commit is contained in:
Stefan Reinauer 2010-03-30 08:20:37 +00:00 committed by Stefan Reinauer
parent 9050b71802
commit 9b70cb6243
3 changed files with 7 additions and 9 deletions

View File

@ -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)
{

View File

@ -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 {

View File

@ -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