diff options
author | Rudolf Marek <r.marek@assembler.cz> | 2010-11-30 21:21:33 +0000 |
---|---|---|
committer | Rudolf Marek <r.marek@assembler.cz> | 2010-11-30 21:21:33 +0000 |
commit | 9c9ae3ae8fe7ae00e6826976fb4849f8e3857db3 (patch) | |
tree | 1fca89bf1d40949388419a131058c6b34a1cf337 /src/mainboard/asrock/939a785gmh/romstage.c | |
parent | f41752c1924e0cbd8bbe2f45dc5d663b7efef0a1 (diff) | |
download | coreboot-9c9ae3ae8fe7ae00e6826976fb4849f8e3857db3.tar.xz |
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>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6135 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/asrock/939a785gmh/romstage.c')
-rw-r--r-- | src/mainboard/asrock/939a785gmh/romstage.c | 4 |
1 files changed, 4 insertions, 0 deletions
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); |