From b3f8090f4e42a73434da3f6d7854762f855ee679 Mon Sep 17 00:00:00 2001 From: Jens Rottmann Date: Fri, 27 Aug 2010 09:36:41 +0000 Subject: 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 Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5745 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/northbridge/via/cn400/Kconfig | 5 ----- src/northbridge/via/cn400/vga.c | 22 ---------------------- src/northbridge/via/cn700/Kconfig | 1 - src/northbridge/via/cx700/Kconfig | 1 - src/northbridge/via/vt8601/Kconfig | 6 ------ src/northbridge/via/vt8623/Kconfig | 6 ------ src/northbridge/via/vx800/Kconfig | 5 ----- 7 files changed, 46 deletions(-) (limited to 'src/northbridge/via') 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 - -- cgit v1.2.3