diff options
Diffstat (limited to 'src/mainboard')
-rw-r--r-- | src/mainboard/apple/macbook21/mptable.c | 2 | ||||
-rw-r--r-- | src/mainboard/getac/p470/mptable.c | 2 | ||||
-rw-r--r-- | src/mainboard/ibase/mb899/mptable.c | 4 | ||||
-rw-r--r-- | src/mainboard/intel/d945gclf/mptable.c | 2 | ||||
-rw-r--r-- | src/mainboard/kontron/986lcd-m/mainboard.c | 2 | ||||
-rw-r--r-- | src/mainboard/kontron/986lcd-m/mptable.c | 4 | ||||
-rw-r--r-- | src/mainboard/lenovo/t60/mptable.c | 2 | ||||
-rw-r--r-- | src/mainboard/lenovo/x60/mptable.c | 2 | ||||
-rw-r--r-- | src/mainboard/roda/rk886ex/mptable.c | 2 |
9 files changed, 11 insertions, 11 deletions
diff --git a/src/mainboard/apple/macbook21/mptable.c b/src/mainboard/apple/macbook21/mptable.c index fcf46a26e4..38916d3563 100644 --- a/src/mainboard/apple/macbook21/mptable.c +++ b/src/mainboard/apple/macbook21/mptable.c @@ -15,7 +15,7 @@ static void *smp_write_config_table(void *v) smp_write_processors(mc); - mptable_write_buses(mc, NULL, &isa_bus); + mptable_write_buses(mc, nullptr, &isa_bus); /* I/O APICs: APIC ID Version State Address */ u8 ioapic_id = smp_write_ioapic_from_hw(mc, IO_APIC_ADDR); diff --git a/src/mainboard/getac/p470/mptable.c b/src/mainboard/getac/p470/mptable.c index d7a4af65c3..6743bda495 100644 --- a/src/mainboard/getac/p470/mptable.c +++ b/src/mainboard/getac/p470/mptable.c @@ -15,7 +15,7 @@ static void *smp_write_config_table(void *v) smp_write_processors(mc); - mptable_write_buses(mc, NULL, &isa_bus); + mptable_write_buses(mc, nullptr, &isa_bus); /* I/O APICs: APIC ID Version State Address */ u8 ioapic_id = smp_write_ioapic_from_hw(mc, IO_APIC_ADDR); diff --git a/src/mainboard/ibase/mb899/mptable.c b/src/mainboard/ibase/mb899/mptable.c index bb4379685e..e34c7237ac 100644 --- a/src/mainboard/ibase/mb899/mptable.c +++ b/src/mainboard/ibase/mb899/mptable.c @@ -8,7 +8,7 @@ static void *smp_write_config_table(void *v) { struct mp_config_table *mc; - struct device *riser = NULL, *firewire = NULL; + struct device *riser = nullptr, *firewire = nullptr; int firewire_bus = 0, riser_bus = 0, isa_bus; mc = (void *)(((char *)v) + SMP_FLOATING_TABLE_LEN); @@ -34,7 +34,7 @@ static void *smp_write_config_table(void *v) printk(BIOS_SPEW, "Riser bus is %x\n", riser_bus); } - mptable_write_buses(mc, NULL, &isa_bus); + mptable_write_buses(mc, nullptr, &isa_bus); /* I/O APICs: APIC ID Version State Address */ u8 ioapic_id = smp_write_ioapic_from_hw(mc, IO_APIC_ADDR); diff --git a/src/mainboard/intel/d945gclf/mptable.c b/src/mainboard/intel/d945gclf/mptable.c index 7ab47b4b37..6c9d12b322 100644 --- a/src/mainboard/intel/d945gclf/mptable.c +++ b/src/mainboard/intel/d945gclf/mptable.c @@ -15,7 +15,7 @@ static void *smp_write_config_table(void *v) smp_write_processors(mc); - mptable_write_buses(mc, NULL, &isa_bus); + mptable_write_buses(mc, nullptr, &isa_bus); /* I/O APICs: APIC ID Version State Address */ u8 ioapic_id = smp_write_ioapic_from_hw(mc, IO_APIC_ADDR); diff --git a/src/mainboard/kontron/986lcd-m/mainboard.c b/src/mainboard/kontron/986lcd-m/mainboard.c index bd50fc33ca..56c9ffae2b 100644 --- a/src/mainboard/kontron/986lcd-m/mainboard.c +++ b/src/mainboard/kontron/986lcd-m/mainboard.c @@ -141,7 +141,7 @@ static void mainboard_init(void *chip_info) continue; printk(BIOS_DEBUG, "Disabling Ethernet NIC #%d\n", i); dev = pcidev_on_root(28, i - 1); - if (dev == NULL) { + if (dev == nullptr) { printk(BIOS_ERR, "Disabling Ethernet NIC: Cannot find 00:1c.%d!\n", i - 1); diff --git a/src/mainboard/kontron/986lcd-m/mptable.c b/src/mainboard/kontron/986lcd-m/mptable.c index 5ee3288e77..b112ac0ff8 100644 --- a/src/mainboard/kontron/986lcd-m/mptable.c +++ b/src/mainboard/kontron/986lcd-m/mptable.c @@ -7,7 +7,7 @@ static void *smp_write_config_table(void *v) { struct mp_config_table *mc; - struct device *riser = NULL, *firewire = NULL; + struct device *riser = nullptr, *firewire = nullptr; int firewire_bus = 0, riser_bus = 0, isa_bus; mc = (void *)(((char *)v) + SMP_FLOATING_TABLE_LEN); @@ -30,7 +30,7 @@ static void *smp_write_config_table(void *v) riser_bus = riser->downstream->secondary; } - mptable_write_buses(mc, NULL, &isa_bus); + mptable_write_buses(mc, nullptr, &isa_bus); /* I/O APICs: APIC ID Version State Address */ u8 ioapic_id = smp_write_ioapic_from_hw(mc, IO_APIC_ADDR); diff --git a/src/mainboard/lenovo/t60/mptable.c b/src/mainboard/lenovo/t60/mptable.c index f640085824..aa83105843 100644 --- a/src/mainboard/lenovo/t60/mptable.c +++ b/src/mainboard/lenovo/t60/mptable.c @@ -15,7 +15,7 @@ static void *smp_write_config_table(void *v) smp_write_processors(mc); - mptable_write_buses(mc, NULL, &isa_bus); + mptable_write_buses(mc, nullptr, &isa_bus); /* I/O APICs: APIC ID Version State Address */ u8 ioapic_id = smp_write_ioapic_from_hw(mc, IO_APIC_ADDR); diff --git a/src/mainboard/lenovo/x60/mptable.c b/src/mainboard/lenovo/x60/mptable.c index 73e9c1b8d4..12e88a4a9d 100644 --- a/src/mainboard/lenovo/x60/mptable.c +++ b/src/mainboard/lenovo/x60/mptable.c @@ -15,7 +15,7 @@ static void *smp_write_config_table(void *v) smp_write_processors(mc); - mptable_write_buses(mc, NULL, &isa_bus); + mptable_write_buses(mc, nullptr, &isa_bus); /* I/O APICs: APIC ID Version State Address */ u8 ioapic_id = smp_write_ioapic_from_hw(mc, IO_APIC_ADDR); diff --git a/src/mainboard/roda/rk886ex/mptable.c b/src/mainboard/roda/rk886ex/mptable.c index 3ce1cbc80b..a9bfe26cd2 100644 --- a/src/mainboard/roda/rk886ex/mptable.c +++ b/src/mainboard/roda/rk886ex/mptable.c @@ -15,7 +15,7 @@ static void *smp_write_config_table(void *v) smp_write_processors(mc); - mptable_write_buses(mc, NULL, &isa_bus); + mptable_write_buses(mc, nullptr, &isa_bus); /* I/O APICs: APIC ID Version State Address */ u8 ioapic_id = smp_write_ioapic_from_hw(mc, IO_APIC_ADDR); |