summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2011-01-19 06:31:24 +0000
committerStefan Reinauer <stepan@openbios.org>2011-01-19 06:31:24 +0000
commit4adc9eb60047e7dc3a7921793c489fff4fe3fc57 (patch)
treeb2fa7b58128ff145cdd5dfeb9fc88cbf84ba9209 /src
parent3ad0851d79c0046bdcd2d56c4f9889c5fa4f0913 (diff)
downloadcoreboot-4adc9eb60047e7dc3a7921793c489fff4fe3fc57.tar.xz
The cn700.c code references mainboard_interrupt_handlers() which isn't
defined if VGA_ROM_RUN is off. Define a dummy implementation of that function for this case. Signed-off-by: Kevin O'Connor <kevin@koconnor.net> Acked-by: Stefan Reinauer <stepan@coreboot.org> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6271 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src')
-rw-r--r--src/arch/x86/include/arch/interrupt.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arch/x86/include/arch/interrupt.h b/src/arch/x86/include/arch/interrupt.h
index 2d2330b739..c3cda309b9 100644
--- a/src/arch/x86/include/arch/interrupt.h
+++ b/src/arch/x86/include/arch/interrupt.h
@@ -22,4 +22,8 @@
#include "registers.h"
/* setup interrupt handlers for mainboard */
+#if defined(CONFIG_PCI_OPTION_ROM_RUN_REALMODE) && CONFIG_PCI_OPTION_ROM_RUN_REALMODE
extern void mainboard_interrupt_handlers(int intXX, void *intXX_func);
+#else
+static inline void mainboard_interrupt_handlers(int intXX, void *intXX_func) { }
+#endif