Add CONFIG_GENERATE_* for tables so that the user can select which tables not
[coreboot.git] / src / northbridge / amd / lx / northbridge.c
index b2670843f506a99b9c3ee6a5172dac43ee4d0ad1..adc5db1461d098564c0dacb63bbd7364d155272e 100644 (file)
@@ -395,7 +395,7 @@ static void ram_resource(device_t dev, unsigned long index,
            IORESOURCE_FIXED | IORESOURCE_STORED | IORESOURCE_ASSIGNED;
 }
 
-#if CONFIG_HAVE_HIGH_TABLES==1
+#if CONFIG_WRITE_HIGH_TABLES==1
 #define HIGH_TABLES_SIZE 64    // maximum size of high tables in KB
 extern uint64_t high_tables_base, high_tables_size;
 #endif
@@ -416,7 +416,7 @@ static void pci_domain_set_resources(device_t dev)
                ram_resource(dev, idx++, 0, 640);
                ram_resource(dev, idx++, 1024, tomk - 1024);    // Systop - 1 MB -> KB
 
-#if CONFIG_HAVE_HIGH_TABLES==1
+#if CONFIG_WRITE_HIGH_TABLES==1
                /* Leave some space for ACPI, PIRQ and MP tables */
                high_tables_base = (tomk - HIGH_TABLES_SIZE) * 1024;
                high_tables_size = HIGH_TABLES_SIZE * 1024;