summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@georgi-clan.de>2013-08-15 20:41:15 +0200
committerPatrick Georgi <patrick@georgi-clan.de>2013-08-16 10:50:36 +0200
commit3f34fc4bf37b6f25fa2af4ede3b870c4841a04b6 (patch)
treee185ed0f01b4b21abbe036b8356ec70105781249 /src
parent1e44c3ff5a08322afba3f52f5d9d88fb0ede9027 (diff)
downloadcoreboot-3f34fc4bf37b6f25fa2af4ede3b870c4841a04b6.tar.xz
emulation/qemu-i440fx: style cleanup
Drop unused and commented out variable, and fix a comment while at it. Change-Id: I1bd7d10aca949c8579433ea1c91264fd816a3fb4 Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-on: http://review.coreboot.org/3873 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/emulation/qemu-i440fx/northbridge.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mainboard/emulation/qemu-i440fx/northbridge.c b/src/mainboard/emulation/qemu-i440fx/northbridge.c
index c08d59e795..2ea4a68c98 100644
--- a/src/mainboard/emulation/qemu-i440fx/northbridge.c
+++ b/src/mainboard/emulation/qemu-i440fx/northbridge.c
@@ -54,7 +54,6 @@ static void cpu_pci_domain_read_resources(struct device *dev)
{
u16 nbid = pci_read_config16(dev_find_slot(0, 0), PCI_DEVICE_ID);
int i440fx = (nbid == 0x1237);
-// int q35 = (nbid == 0x29c0);
struct resource *res;
unsigned long tomk = 0, high;
int idx = 10;
@@ -94,7 +93,7 @@ static void cpu_pci_domain_read_resources(struct device *dev)
if (i440fx) {
/* Reserve space for the IOAPIC. This should be in
- * the Southbridge, but I couldn't tell which device
+ * the southbridge, but I couldn't tell which device
* to put it in. */
res = new_resource(dev, 2);
res->base = IO_APIC_ADDR;