summaryrefslogtreecommitdiff
path: root/src/superio
diff options
context:
space:
mode:
authorJens Rottmann <JRottmann@LiPPERTEmbedded.de>2008-11-03 22:58:56 +0000
committerMarc Jones <marc.jones@amd.com>2008-11-03 22:58:56 +0000
commit632f86515a132b51b035794e0ba21b8a21eacd15 (patch)
tree1f6b3a55ec395e1ec7e27a0b1633c8bdfddb9d7f /src/superio
parent9cc49b21f85c831d299966b890de42cc348d0fff (diff)
downloadcoreboot-632f86515a132b51b035794e0ba21b8a21eacd15.tar.xz
Add the missing I/O resources for IT8712F GPIOs. (E.g. some LiPPERT
boards need them to switch the com ports from RS232 to RS485.) The PnP resources should prevent other devices from being mapped at the same spot, even if no OS driver actively uses them. The IT8712F manual makes it look like PNP_IO1 had a size/granularity of 1 byte, but that must be a mistake. The Simple-I/O resource has a size of 5 bytes (1 for each GPIO set 1-5) and trying different addresses reveals a granularity of 8. Signed-off-by: Jens Rottmann <JRottmann@LiPPERTEmbedded.de> Acked-by: Marc Jones <marc.jones@amd.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3728 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/superio')
-rw-r--r--src/superio/ite/it8712f/superio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/superio/ite/it8712f/superio.c b/src/superio/ite/it8712f/superio.c
index acb2d7c6ea..8619ebc2f5 100644
--- a/src/superio/ite/it8712f/superio.c
+++ b/src/superio/ite/it8712f/superio.c
@@ -129,7 +129,7 @@ static struct pnp_info pnp_dev_info[] = {
{&ops, IT8712F_EC, PNP_IO0 | PNP_IO1 | PNP_IRQ0, {0xff8, 0}, {0xff8, 4},},
{&ops, IT8712F_KBCK, PNP_IO0 | PNP_IO1 | PNP_IRQ0, {0xfff, 0}, {0xfff, 4},},
{&ops, IT8712F_KBCM, PNP_IRQ0,},
- {&ops, IT8712F_GPIO,},
+ {&ops, IT8712F_GPIO, PNP_IO0 | PNP_IO1 | PNP_IO2 | PNP_IRQ0, {0xfff, 0}, {0xff8, 0}, {0xff8, 0},},
{&ops, IT8712F_MIDI, PNP_IO0 | PNP_IRQ0, {0xff8, 0},},
{&ops, IT8712F_GAME, PNP_IO0, {0xfff, 0},},
{&ops, IT8712F_IR, PNP_IO0 | PNP_IRQ0, {0xff8, 0},},