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
This commit is contained in:
Rudolf Marek 2010-11-30 21:21:33 +00:00
parent f41752c192
commit 9c9ae3ae8f
1 changed files with 4 additions and 0 deletions

View File

@ -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);