diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-04-14 10:12:23 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-04-14 10:12:23 +0000 |
commit | 4154c668f24da79672099dfac06f5263c415fee0 (patch) | |
tree | 260835bf16506bce6bc8f3837a16a352c679c486 /src/mainboard/hp/dl145_g3 | |
parent | c264ad930a2579dc235de0c95842374e89ff5d6a (diff) | |
download | coreboot-4154c668f24da79672099dfac06f5263c415fee0.tar.xz |
zero warnings days. Down to under 600 different warnings
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5425 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/hp/dl145_g3')
-rw-r--r-- | src/mainboard/hp/dl145_g3/mptable.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mainboard/hp/dl145_g3/mptable.c b/src/mainboard/hp/dl145_g3/mptable.c index 9f52466b6a..6aa3f0e404 100644 --- a/src/mainboard/hp/dl145_g3/mptable.c +++ b/src/mainboard/hp/dl145_g3/mptable.c @@ -50,8 +50,6 @@ static void *smp_write_config_table(void *v) static const char productid[12] = "TREX "; struct mp_config_table *mc; - unsigned char bus_num; - int i; struct mb_sysconf_t *m; mc = (void *)(((char *)v) + SMP_FLOATING_TABLE_LEN); @@ -78,11 +76,13 @@ static void *smp_write_config_table(void *v) /*Bus: Bus ID Type*/ /* define bus and isa numbers */ -/* for(bus_num = 0; bus_num < m->bus_isa; bus_num++) { +#if 0 + unsigned char bus_num; + for(bus_num = 0; bus_num < m->bus_isa; bus_num++) { smp_write_bus(mc, bus_num, "PCI "); printk(BIOS_DEBUG, "writing bus %d as PCI...\n",bus_num); } - */ +#endif smp_write_bus(mc, 0, "PCI "); smp_write_bus(mc, 1, "PCI "); smp_write_bus(mc, 7, "PCI "); |