diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2009-07-21 21:58:20 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2009-07-21 21:58:20 +0000 |
commit | a5fdadfa18fce0dfa60f6ae45b877173d9fa312b (patch) | |
tree | 033901051881e3881f329d223e5f13b9e6326d86 /src/mainboard/kontron/986lcd-m/mainboard_smi.c | |
parent | e1a66573b15840f2d434f0736280264a99e2250e (diff) | |
download | coreboot-a5fdadfa18fce0dfa60f6ae45b877173d9fa312b.tar.xz |
Kontron updates, get board up to date with i945 and ich7 updates.
Move interrupt routing to mainboard specific code.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4458 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/kontron/986lcd-m/mainboard_smi.c')
-rw-r--r-- | src/mainboard/kontron/986lcd-m/mainboard_smi.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mainboard/kontron/986lcd-m/mainboard_smi.c b/src/mainboard/kontron/986lcd-m/mainboard_smi.c index 8896d9fd47..057111dc49 100644 --- a/src/mainboard/kontron/986lcd-m/mainboard_smi.c +++ b/src/mainboard/kontron/986lcd-m/mainboard_smi.c @@ -24,10 +24,13 @@ #include <console/console.h> #include "../../../southbridge/intel/i82801gx/i82801gx_nvs.h" +/* The southbridge SMI handler checks whether gnvs has a + * valid pointer before calling the trap handler + */ +extern global_nvs_t *gnvs; + int mainboard_io_trap_handler(int smif) { - global_nvs_t *gnvs = (global_nvs_t *)0xc00; - switch (smif) { case 0x99: printk_debug("Sample\n"); |