From fd611f9c2c8c751069c6cd1634a3e3e523ff098b Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Wed, 27 Feb 2013 23:45:20 +0100 Subject: Drop CONFIG_WRITE_HIGH_TABLES It's been on for all boards per default since several years now and the old code path probably doesn't even work anymore. Let's just have one consistent way of doing things. Change-Id: I58da7fe9b89a648d9a7165d37e0e35c88c06ac7e Signed-off-by: Stefan Reinauer Reviewed-on: http://review.coreboot.org/2547 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- src/northbridge/via/cn700/northbridge.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/northbridge/via/cn700') diff --git a/src/northbridge/via/cn700/northbridge.c b/src/northbridge/via/cn700/northbridge.c index 0bd06aa80e..2faa1497bf 100644 --- a/src/northbridge/via/cn700/northbridge.c +++ b/src/northbridge/via/cn700/northbridge.c @@ -29,6 +29,7 @@ #include #include #include +#include #include #include "northbridge.h" #include "cn700.h" @@ -96,10 +97,6 @@ static const struct pci_driver memctrl_driver __pci_driver = { .device = PCI_DEVICE_ID_VIA_CN700_MEMCTRL, }; -#if CONFIG_WRITE_HIGH_TABLES -#include -#endif - static void pci_domain_set_resources(device_t dev) { /* The order is important to find the correct RAM size. */ @@ -137,12 +134,10 @@ static void pci_domain_set_resources(device_t dev) tolmk = tomk; } -#if CONFIG_WRITE_HIGH_TABLES high_tables_base = ((tolmk - CONFIG_VIDEO_MB * 1024) * 1024) - HIGH_MEMORY_SIZE; high_tables_size = HIGH_MEMORY_SIZE; printk(BIOS_DEBUG, "tom: %lx, high_tables_base: %llx, high_tables_size: %llx\n", tomk*1024, high_tables_base, high_tables_size); -#endif /* Report the memory regions. */ idx = 10; -- cgit v1.2.3