summaryrefslogtreecommitdiff
path: root/src/superio/ite
diff options
context:
space:
mode:
authorMarc Jones <marc.jones@amd.com>2008-09-26 19:15:38 +0000
committerMarc Jones <marc.jones@amd.com>2008-09-26 19:15:38 +0000
commitecd176f304958eff33ecb5ee3f3a2c8de535fdd5 (patch)
treed4b080750286134bfd0f66d3627258777c6c478c /src/superio/ite
parent678d61cf5d7b3b985640fcc1e544e23cf5bdd360 (diff)
downloadcoreboot-ecd176f304958eff33ecb5ee3f3a2c8de535fdd5.tar.xz
This patch fixes the dbm690t keyboard not working issue. It should also
fix the a8n_e and any other it8712f SIO keyboard issues. The it8712f requires an archaic PS/2 mode setting to the keyboard controller before accessing the keyboard. Beyond that, I made the keyboard controller and keyboard init more robust and added more informative debug output. Signed-off-by: Marc Jones <marc.jones@amd.com> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3610 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/superio/ite')
-rw-r--r--src/superio/ite/it8712f/superio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/superio/ite/it8712f/superio.c b/src/superio/ite/it8712f/superio.c
index 9f848687ec..c90c900914 100644
--- a/src/superio/ite/it8712f/superio.c
+++ b/src/superio/ite/it8712f/superio.c
@@ -76,6 +76,7 @@ static void it8712f_init(device_t dev)
case IT8712F_KBCK:
res0 = find_resource(dev, PNP_IDX_IO0);
res1 = find_resource(dev, PNP_IDX_IO1);
+ set_kbc_ps2_mode();
init_pc_keyboard(res0->base, res1->base, &conf->keyboard);
break;
case IT8712F_KBCM: /* TODO. */