Author: ruik Date: Sun Nov 14 15:39:29 2010 New Revision: 6070 URL: https://tracker.coreboot.org/trac/coreboot/changeset/6070
Log: 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
Modified: trunk/src/mainboard/asus/m2v/mainboard.c
Modified: trunk/src/mainboard/asus/m2v/mainboard.c ============================================================================== --- trunk/src/mainboard/asus/m2v/mainboard.c Sun Nov 14 15:17:29 2010 (r6069) +++ trunk/src/mainboard/asus/m2v/mainboard.c Sun Nov 14 15:39:29 2010 (r6070) @@ -35,11 +35,11 @@ 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);