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:
parent
9050b71802
commit
9b70cb6243
3 changed files with 7 additions and 9 deletions
|
@ -3,10 +3,6 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <device/pci.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
|
#if CONFIG_DEBUG
|
||||||
static void check_pirq_routing_table(struct irq_routing_table *rt)
|
static void check_pirq_routing_table(struct irq_routing_table *rt)
|
||||||
{
|
{
|
||||||
|
|
|
@ -17,8 +17,8 @@ struct irq_info {
|
||||||
u8 rfu;
|
u8 rfu;
|
||||||
} __attribute__((packed));
|
} __attribute__((packed));
|
||||||
|
|
||||||
#if !defined(CONFIG_IRQ_SLOT_COUNT)
|
#ifndef CONFIG_IRQ_SLOT_COUNT
|
||||||
#error "No IRQ_SLOT_COUNT in Kconfig."
|
#warning "IRQ_SLOT_COUNT is not defined in Kconfig. PIRQ won't work correctly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
struct irq_routing_table {
|
struct irq_routing_table {
|
||||||
|
|
|
@ -42,9 +42,11 @@ config GENERATE_PIRQ_TABLE
|
||||||
default y
|
default y
|
||||||
depends on BOARD_MSI_MS9652_FAM10
|
depends on BOARD_MSI_MS9652_FAM10
|
||||||
|
|
||||||
config CONFIG_IRQ_SLOT_COUNT
|
# Define to 0 because the IRQ slot count is
|
||||||
hex
|
# determined dynamically for this board.
|
||||||
default 0x0b
|
config IRQ_SLOT_COUNT
|
||||||
|
int
|
||||||
|
default 0
|
||||||
depends on BOARD_MSI_MS9652_FAM10
|
depends on BOARD_MSI_MS9652_FAM10
|
||||||
|
|
||||||
config HAVE_OPTION_TABLE
|
config HAVE_OPTION_TABLE
|
||||||
|
|
Loading…
Reference in a new issue