zero warnings days: unify mp tables. fix warnings.
[coreboot.git] / src / mainboard / tyan / s2912 / mptable.c
index 8887cca3bf9f1975a41b9b56f1eed9a7016bf97e..b688da11eef477632fab8f3f82fa979bfbb07e5b 100644 (file)
 
 #include "mb_sysconf.h"
 
-extern void get_bus_conf(void);
 
-void *smp_write_config_table(void *v)
+
+static void *smp_write_config_table(void *v)
 {
        static const char sig[4] = "PCMP";
-       static const char oem[8] = "TYAN    ";
+       static const char oem[8] = "COREBOOT";
        static const char productid[12] = "S2895       ";
        struct mp_config_table *mc;
        struct mb_sysconf_t *m;
@@ -147,7 +147,7 @@ void *smp_write_config_table(void *v)
        /* Compute the checksums */
        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);
 }