diff options
author | Indrek Kruusa <Indrek Kruusa> | 2006-09-13 21:59:09 +0000 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2006-09-13 21:59:09 +0000 |
commit | 7d9441276f144f0ffc5fe1523daaa63f916b9a25 (patch) | |
tree | 89d63109b6ccf8944a2db120a0dce9cd005030ba /src/cpu/amd/model_lx/model_lx_init.c | |
parent | 5c16ebde91142174ab4199a9b0eb2d2d2232b107 (diff) | |
download | coreboot-7d9441276f144f0ffc5fe1523daaa63f916b9a25.tar.xz |
changes for the lx and artecgroup mobo
Signed-off-by: Indrek Kruusa
Approved-by: Ronald G. Minnich
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2412 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/cpu/amd/model_lx/model_lx_init.c')
-rw-r--r-- | src/cpu/amd/model_lx/model_lx_init.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cpu/amd/model_lx/model_lx_init.c b/src/cpu/amd/model_lx/model_lx_init.c index 9eee1833e9..b24651102e 100644 --- a/src/cpu/amd/model_lx/model_lx_init.c +++ b/src/cpu/amd/model_lx/model_lx_init.c @@ -5,6 +5,7 @@ #include <cpu/cpu.h> #include <cpu/x86/lapic.h> #include <cpu/x86/cache.h> +#include <arch/io.h> static void vsm_end_post_smi(void) { @@ -27,8 +28,14 @@ static void model_lx_init(device_t dev) /* Enable the local cpu apics */ //setup_lapic(); + // do VSA late init vsm_end_post_smi(); + // Set gate A20 (legacy vsm disables it in late init) + printk_debug("A20 (0x92): %d\n",inb(0x92)); + outb(0x02,0x92); + printk_debug("A20 (0x92): %d\n",inb(0x92)); + printk_debug("model_lx_init DONE\n"); }; |