Author: ruik Date: Tue Nov 30 22:21:33 2010 New Revision: 6135 URL: https://tracker.coreboot.org/trac/coreboot/changeset/6135
Log: The patch just make the power LED on.
Signed-off-by: Rudolf Marek r.marek@assembler.cz Acked-by: Uwe Hermann uwe@hermann-uwe.de
Modified: trunk/src/mainboard/asrock/939a785gmh/romstage.c
Modified: trunk/src/mainboard/asrock/939a785gmh/romstage.c ============================================================================== --- trunk/src/mainboard/asrock/939a785gmh/romstage.c Tue Nov 30 21:18:53 2010 (r6134) +++ trunk/src/mainboard/asrock/939a785gmh/romstage.c Tue Nov 30 22:21:33 2010 (r6135) @@ -83,6 +83,10 @@ reg = pnp_read_config(GPIO2345_DEV, 0x29); pnp_write_config(GPIO2345_DEV, 0x29, (reg | 2));
+ /* Turn on the Power LED ("Suspend LED" in Super I/O) */ + reg = pnp_read_config(GPIO2345_DEV, 0xf3); + pnp_write_config(GPIO2345_DEV, 0xf3, (reg | 0x40)); + /* todo document this */ pnp_write_config(GPIO2345_DEV, 0x2c, 0x1); pnp_write_config(GPIO2345_DEV, 0x2d, 0x1);