Author: ruik Date: 2009-04-13 23:42:49 +0200 (Mon, 13 Apr 2009) New Revision: 4108
Modified: trunk/coreboot-v2/src/southbridge/via/vt8237r/vt8237r_lpc.c Log: Fix the build. This error was introduced by change in acpi.c, the acpi_slp_type exists only conditionally. Signed-off-by: Rudolf Marek <[email protected]> Acked-by: Rudolf Marek <[email protected]> Modified: trunk/coreboot-v2/src/southbridge/via/vt8237r/vt8237r_lpc.c =================================================================== --- trunk/coreboot-v2/src/southbridge/via/vt8237r/vt8237r_lpc.c 2009-04-13 21:35:49 UTC (rev 4107) +++ trunk/coreboot-v2/src/southbridge/via/vt8237r/vt8237r_lpc.c 2009-04-13 21:42:49 UTC (rev 4108) @@ -225,8 +225,10 @@ /* SCI is generated for RTC/pwrBtn/slpBtn. */ tmp = inw(VT8237R_ACPI_IO_BASE + 0x04); +#if HAVE_ACPI_RESUME == 1 acpi_slp_type = ((tmp & (7 << 10)) >> 10) == 1 ? 3 : 0 ; printk_debug("SLP_TYP type was %x %x\n", tmp, acpi_slp_type); +#endif /* clear sleep */ tmp &= ~(7 << 10); tmp |= 1; -- coreboot mailing list: [email protected] http://www.coreboot.org/mailman/listinfo/coreboot

