aboutsummaryrefslogtreecommitdiff
path: root/hw/spitz.c
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2007-06-24 13:45:36 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2007-06-24 13:45:36 +0000
commit611d7189e7dc58cdd8e770924677161f72149922 (patch)
tree291f8a17c07be9f72a9bdc477386c9ffc6639490 /hw/spitz.c
parent610c3c8afd99f4f118b12ede39ee8d62ee44a446 (diff)
downloadqemu-611d7189e7dc58cdd8e770924677161f72149922.zip
qemu-611d7189e7dc58cdd8e770924677161f72149922.tar.gz
qemu-611d7189e7dc58cdd8e770924677161f72149922.tar.bz2
Make touchscreen calibration values better match the HW. Invert WM8750 GPIO.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3014 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/spitz.c')
-rw-r--r--hw/spitz.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/spitz.c b/hw/spitz.c
index 590e1fc..c6fb598 100644
--- a/hw/spitz.c
+++ b/hw/spitz.c
@@ -919,8 +919,8 @@ static void spitz_microdrive_attach(struct pxa2xx_state_s *cpu)
/* Wm8750 and Max7310 on I2C */
#define AKITA_MAX_ADDR 0x18
-#define SPITZ_WM_ADDRL 0x1a
-#define SPITZ_WM_ADDRH 0x1b
+#define SPITZ_WM_ADDRL 0x1b
+#define SPITZ_WM_ADDRH 0x1a
#define SPITZ_GPIO_WM 5