printk_foo -> printk(BIOS_FOO, ...)
[coreboot.git] / src / northbridge / intel / e7520 / northbridge.c
index da3d71b91fa33818038694b157803cdff7cb48f2..efb7f0263bf8555f67868d2cc948421d68ab4826 100644 (file)
@@ -52,7 +52,7 @@ static uint32_t find_pci_tolm(struct bus *bus)
        return tolm;
 }
 
-#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
@@ -65,7 +65,7 @@ static void pci_domain_set_resources(device_t dev)
         pci_tolm = find_pci_tolm(&dev->link[0]);
 
 #if 1
-       printk_debug("PCI mem marker = %x\n", pci_tolm);
+       printk(BIOS_DEBUG, "PCI mem marker = %x\n", pci_tolm);
 #endif
        /* FIXME Me temporary hack */
        if(pci_tolm > 0xe0000000)
@@ -145,7 +145,7 @@ static void pci_domain_set_resources(device_t dev)
                                (remaplimitk + 64*1024) - remapbasek);
                }
 
-#if CONFIG_HAVE_HIGH_TABLES==1
+#if CONFIG_WRITE_HIGH_TABLES==1
                /* Leave some space for ACPI, PIRQ and MP tables */
                high_tables_base = (tolmk - HIGH_TABLES_SIZE) * 1024;
                high_tables_size = HIGH_TABLES_SIZE * 1024;