summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorRudolf Marek <r.marek@assembler.cz>2010-11-14 14:39:29 +0000
committerRudolf Marek <r.marek@assembler.cz>2010-11-14 14:39:29 +0000
commit727edb0b320e46acc8ab272fdec87e6444203bfe (patch)
treea39fb81c33bb7ece689dc1d74d2e941bc7bd4a34 /src/mainboard
parent5d72eb5e8eda5e7b8a653a4e9b3bba2d4adbba9e (diff)
Return 0, (as for 40pin cable if SB not found)
Signed-off-by: Rudolf Marek <r.marek@assembler.cz> Acked-by: Rudolf Marek <r.marek@assembler.cz> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6070 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/asus/m2v/mainboard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/asus/m2v/mainboard.c b/src/mainboard/asus/m2v/mainboard.c
index 3d2c3cb8e4..76d3cf6c7a 100644
--- a/src/mainboard/asus/m2v/mainboard.c
+++ b/src/mainboard/asus/m2v/mainboard.c
@@ -35,11 +35,11 @@ u32 vt8237_ide_80pin_detect(struct device *dev)
lpc_dev = dev_find_device(PCI_VENDOR_ID_VIA,
PCI_DEVICE_ID_VIA_VT8237A_LPC, 0);
if (!lpc_dev)
- return;
+ return 0;
acpi_io_base = pci_read_config16(lpc_dev, 0x88);
if (!acpi_io_base || (acpi_io_base & ~1) == 0)
- return;
+ return 0;
acpi_io_base &= ~1;
gpio_in = inl(acpi_io_base + 0x48);