summaryrefslogtreecommitdiff
path: root/src/superio
diff options
context:
space:
mode:
authorMyles Watson <mylesgw@gmail.com>2009-03-13 17:20:59 +0000
committerMyles Watson <mylesgw@gmail.com>2009-03-13 17:20:59 +0000
commitcb2de6869c2f4929db37db7fc4fce0e345b1e799 (patch)
tree0b26d970f8e3215b853e6d1285ef688a23bbd90b /src/superio
parent65e9bc13f0588fa12ed3229bddd3ad87990c3470 (diff)
downloadcoreboot-cb2de6869c2f4929db37db7fc4fce0e345b1e799.tar.xz
This patch reverts SuperIO changes that I was too hasty with. Even though the
address of the RTC is 0x70, you need to write 0x400 to it. Now the dump from superiotool matches the factory except 0xf0 of the keyboard. When you boot with the factory BIOS that is 0x04, but with coreboot it is not set. It's trivial because it is reverts. Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Myles Watson <mylesgw@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4002 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/superio')
-rw-r--r--src/superio/smsc/lpc47b397/superio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/superio/smsc/lpc47b397/superio.c b/src/superio/smsc/lpc47b397/superio.c
index e0f5d7975f..5dc8e1f376 100644
--- a/src/superio/smsc/lpc47b397/superio.c
+++ b/src/superio/smsc/lpc47b397/superio.c
@@ -202,7 +202,7 @@ static struct pnp_info pnp_dev_info[] = {
{ &ops, LPC47B397_SP2, PNP_IO0 | PNP_IRQ0, { 0x7f8, 0 }, },
{ &ops, LPC47B397_KBC, PNP_IO0 | PNP_IO1 | PNP_IRQ0 | PNP_IRQ1, { 0x7ff, 0 }, { 0x7ff, 0x4}, },
{ &ops_hwm, LPC47B397_HWM, PNP_IO0, { 0x7f0, 0 }, },
- { &ops, LPC47B397_RT, PNP_IO0 | PNP_IRQ0, { 0x7fc, 0 }, },
+ { &ops, LPC47B397_RT, PNP_IO0, { 0x780, 0 }, },
};
static void enable_dev(struct device *dev)