diff options
Diffstat (limited to 'src/mainboard/via')
-rw-r--r-- | src/mainboard/via/epia-m/romstage.c | 1 | ||||
-rw-r--r-- | src/mainboard/via/epia/romstage.c | 5 |
2 files changed, 1 insertions, 5 deletions
diff --git a/src/mainboard/via/epia-m/romstage.c b/src/mainboard/via/epia-m/romstage.c index 0a5ddbc8ae..2da25d72b9 100644 --- a/src/mainboard/via/epia-m/romstage.c +++ b/src/mainboard/via/epia-m/romstage.c @@ -78,7 +78,6 @@ static void enable_shadow_ram(void) static void main(unsigned long bist) { - unsigned long x; device_t dev; /* diff --git a/src/mainboard/via/epia/romstage.c b/src/mainboard/via/epia/romstage.c index 301556ddaf..d8bd7608cf 100644 --- a/src/mainboard/via/epia/romstage.c +++ b/src/mainboard/via/epia/romstage.c @@ -13,7 +13,6 @@ #include "cpu/x86/bist.h" #include "pc80/udelay_io.c" #include "lib/delay.c" -#include "cpu/x86/lapic/boot_cpu.c" #include "lib/debug.c" #include "southbridge/via/vt8231/vt8231_early_smbus.c" #include "southbridge/via/vt8231/vt8231_early_serial.c" @@ -76,10 +75,8 @@ static void enable_shadow_ram(void) pci_write_config8(dev, 0x63, shadowreg); } -static void main(unsigned long bist) +void main(unsigned long bist) { - unsigned long x; - if (bist == 0) { early_mtrr_init(); } |