From 9c9ae3ae8fe7ae00e6826976fb4849f8e3857db3 Mon Sep 17 00:00:00 2001 From: Rudolf Marek Date: Tue, 30 Nov 2010 21:21:33 +0000 Subject: [PATCH] The patch just make the power LED on. Signed-off-by: Rudolf Marek Acked-by: Uwe Hermann git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6135 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/mainboard/asrock/939a785gmh/romstage.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mainboard/asrock/939a785gmh/romstage.c b/src/mainboard/asrock/939a785gmh/romstage.c index 2dd94945af..c62f1c4f0b 100644 --- a/src/mainboard/asrock/939a785gmh/romstage.c +++ b/src/mainboard/asrock/939a785gmh/romstage.c @@ -83,6 +83,10 @@ static void sio_init(void) 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);