printk_foo -> printk(BIOS_FOO, ...)
[coreboot.git] / src / mainboard / amd / pistachio / mptable.c
index f0f77ef37ce7b3d61f02686144003d96633da9b5..c1e2f4e314ff8ec2d00b246d0880beacd5ac51d7 100644 (file)
@@ -142,7 +142,7 @@ void *smp_write_config_table(void *v)
        /* PCI interrupts are level triggered, and are
         * associated with a specific bus/device/function tuple.
         */
-#if HAVE_ACPI_TABLES == 0
+#if CONFIG_GENERATE_ACPI_TABLES == 0
 #define PCI_INT(bus, dev, fn, pin) \
         smp_write_intsrc(mc, mp_INT, MP_IRQ_TRIGGER_LEVEL|MP_IRQ_POLARITY_LOW, (bus), (((dev)<<2)|(fn)), apicid_sb600, (pin))
 #else
@@ -199,7 +199,7 @@ void *smp_write_config_table(void *v)
        mc->mpe_checksum =
            smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
        mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
-       printk_debug("Wrote the mp table end at: %p - %p\n",
+       printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
                     mc, smp_next_mpe_entry(mc));
        return smp_next_mpe_entry(mc);
 }