From: Rudolf Marek Date: Sun, 14 Nov 2010 14:39:29 +0000 (+0000) Subject: Return 0, (as for 40pin cable if SB not found) X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=727edb0b320e46acc8ab272fdec87e6444203bfe;hp=5d72eb5e8eda5e7b8a653a4e9b3bba2d4adbba9e;p=coreboot.git Return 0, (as for 40pin cable if SB not found) Signed-off-by: Rudolf Marek Acked-by: Rudolf Marek git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6070 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- diff --git a/src/mainboard/asus/m2v/mainboard.c b/src/mainboard/asus/m2v/mainboard.c index 3d2c3cb8e..76d3cf6c7 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);