diff options
author | Jens Rottmann <JRottmann@LiPPERTEmbedded.de> | 2010-08-27 09:36:41 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-08-27 09:36:41 +0000 |
commit | b3f8090f4e42a73434da3f6d7854762f855ee679 (patch) | |
tree | f6adf69fce22cc0af0b105bb02e88846bc24b761 /src/northbridge/via | |
parent | 78265d5609d37b528cf8f605878a792299d11a47 (diff) | |
download | coreboot-b3f8090f4e42a73434da3f6d7854762f855ee679.tar.xz |
drop three unneeded config variables:
- HAVE_HIGH_TABLES
- HAVE_LOW_TABLES
- FALLBACK_SIZE
Jens Rottmann sent an almost identical patch at the same time, so
Signed-off-by: Jens Rottmann <JRottmann@LiPPERTEmbedded.de>
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5745 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/northbridge/via')
-rw-r--r-- | src/northbridge/via/cn400/Kconfig | 5 | ||||
-rw-r--r-- | src/northbridge/via/cn400/vga.c | 22 | ||||
-rw-r--r-- | src/northbridge/via/cn700/Kconfig | 1 | ||||
-rw-r--r-- | src/northbridge/via/cx700/Kconfig | 1 | ||||
-rw-r--r-- | src/northbridge/via/vt8601/Kconfig | 6 | ||||
-rw-r--r-- | src/northbridge/via/vt8623/Kconfig | 6 | ||||
-rw-r--r-- | src/northbridge/via/vx800/Kconfig | 5 |
7 files changed, 0 insertions, 46 deletions
diff --git a/src/northbridge/via/cn400/Kconfig b/src/northbridge/via/cn400/Kconfig index 8a27af42f2..42fa096894 100644 --- a/src/northbridge/via/cn400/Kconfig +++ b/src/northbridge/via/cn400/Kconfig @@ -1,11 +1,6 @@ config NORTHBRIDGE_VIA_CN400 bool -config FALLBACK_SIZE - int - default 0 - depends on NORTHBRIDGE_VIA_CN400 - # TODO: Values are from the CX700 datasheet, not sure if this matches CN400. # TODO: What should be the per-chipset default value here? choice diff --git a/src/northbridge/via/cn400/vga.c b/src/northbridge/via/cn400/vga.c index 511079b03a..7641a81012 100644 --- a/src/northbridge/via/cn400/vga.c +++ b/src/northbridge/via/cn400/vga.c @@ -83,23 +83,6 @@ static void vga_init(device_t dev) mainboard_interrupt_handlers(0x15, &via_cn400_int15_handler); -#undef OLD_BOCHS_METHOD -#ifdef OLD_BOCHS_METHOD - u32 temp; - // XXX We might need more bios hooks in the f segment, but - // this way of copying the BOCHS BIOS does not work anymore. - // As soon as someone verifies that CN400 can init VGA, the - // code should be removed. - temp = (0xffffffff - CONFIG_FALLBACK_SIZE - 0xffff); - printk(BIOS_DEBUG, "Copying BOCHS BIOS from 0x%08X to 0xf000\n", temp); - /* - * Copy BOCHS BIOS from 4G-CONFIG_FALLBACK_SIZE-64k (in flash) to 0xf0000 (in RAM) - * This is for compatibility with the VGA ROM's BIOS callbacks. - */ - //memcpy(0xf0000, (0xffffffff - CONFIG_ROM_SIZE - 0xffff), 0x10000); - memcpy((void *)0xf0000, (void *)temp, 0x10000); -#endif - /* Set memory rate to 200 MHz. */ outb(0x3d, CRTM_INDEX); reg8 = inb(CRTM_DATA); @@ -138,11 +121,6 @@ static void vga_init(device_t dev) outb(0x39, SR_INDEX); outb(reg8, SR_DATA); -#ifdef OLD_BOCHS_METHOD - /* Clear the BOCHS BIOS out of memory, so it doesn't confuse Linux. */ - memset((void *)0xf0000, 0, 0x10000); -#endif - #ifdef DEBUG_CN400 int i, j; diff --git a/src/northbridge/via/cn700/Kconfig b/src/northbridge/via/cn700/Kconfig index aa09869436..00af051cb6 100644 --- a/src/northbridge/via/cn700/Kconfig +++ b/src/northbridge/via/cn700/Kconfig @@ -1,7 +1,6 @@ config NORTHBRIDGE_VIA_CN700 bool select HAVE_DEBUG_RAM_SETUP - select HAVE_HIGH_TABLES config FALLBACK_SIZE int diff --git a/src/northbridge/via/cx700/Kconfig b/src/northbridge/via/cx700/Kconfig index 046adc7adc..7e4a193ab5 100644 --- a/src/northbridge/via/cx700/Kconfig +++ b/src/northbridge/via/cx700/Kconfig @@ -2,7 +2,6 @@ config NORTHBRIDGE_VIA_CX700 bool select HAVE_DEBUG_RAM_SETUP select HAVE_DEBUG_SMBUS - select HAVE_HIGH_TABLES select HAVE_HARD_RESET select IOAPIC select SMP diff --git a/src/northbridge/via/vt8601/Kconfig b/src/northbridge/via/vt8601/Kconfig index 90f7f01561..cb64dbcb31 100644 --- a/src/northbridge/via/vt8601/Kconfig +++ b/src/northbridge/via/vt8601/Kconfig @@ -1,9 +1,3 @@ config NORTHBRIDGE_VIA_VT8601 bool - select HAVE_HIGH_TABLES - -config FALLBACK_SIZE - int - default 0 - depends on NORTHBRIDGE_VIA_VT8601 diff --git a/src/northbridge/via/vt8623/Kconfig b/src/northbridge/via/vt8623/Kconfig index dbdb313227..c2aa82b47e 100644 --- a/src/northbridge/via/vt8623/Kconfig +++ b/src/northbridge/via/vt8623/Kconfig @@ -1,9 +1,3 @@ config NORTHBRIDGE_VIA_VT8623 bool - select HAVE_HIGH_TABLES - -config FALLBACK_SIZE - int - default 0 - depends on NORTHBRIDGE_VIA_VT8623 diff --git a/src/northbridge/via/vx800/Kconfig b/src/northbridge/via/vx800/Kconfig index 89a33cff52..48ea456e48 100644 --- a/src/northbridge/via/vx800/Kconfig +++ b/src/northbridge/via/vx800/Kconfig @@ -3,8 +3,3 @@ config NORTHBRIDGE_VIA_VX800 select HAVE_DEBUG_RAM_SETUP select HAVE_DEBUG_SMBUS -config FALLBACK_SIZE - int - default 0 - depends on NORTHBRIDGE_VIA_VX800 - |