Add CONFIG_GENERATE_* for tables so that the user can select which tables not
[coreboot.git] / src / northbridge / via / cn400 / northbridge.c
index 95941828642066ddfd66c88263c2d8ff6c261612..86dea8d3c7892841942dee4720d49743f6828d93 100644 (file)
@@ -218,7 +218,7 @@ static u32 find_pci_tolm(struct bus *bus)
        return tolm;
 }
 
-#if CONFIG_HAVE_HIGH_TABLES==1
+#if CONFIG_WRITE_HIGH_TABLES==1
 /* maximum size of high tables in KB */
 #define HIGH_TABLES_SIZE 64
 extern uint64_t high_tables_base, high_tables_size;
@@ -250,7 +250,7 @@ static void cn400_domain_set_resources(device_t dev)
                        tolmk = tomk;
                }
 
-#if CONFIG_HAVE_HIGH_TABLES == 1
+#if CONFIG_WRITE_HIGH_TABLES == 1
                /* Locate the High Tables at the Top of Low Memory below the Video RAM */
                high_tables_base = (uint64_t) (tolmk - (CONFIG_VIDEO_MB *1024) - HIGH_TABLES_SIZE) * 1024;
                high_tables_size = (uint64_t) HIGH_TABLES_SIZE* 1024;