summaryrefslogtreecommitdiff
path: root/src/superio/ite/it8705f
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2006-12-01 13:14:55 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2006-12-01 13:14:55 +0000
commit6b2475dd8198f3f6b43b96d48b2f4e3de75042a4 (patch)
tree88529543343e01ad434299a60a563cfbe08954c8 /src/superio/ite/it8705f
parent39b13f4fa0b17b496ded754b875213b72d951129 (diff)
downloadcoreboot-6b2475dd8198f3f6b43b96d48b2f4e3de75042a4.tar.xz
Explicitly set the CLKIN to 24 MHz on all ITE Super I/Os, otherwise
serial output might not always work correctly (trivial). Thanks Philipp Degler <pdegler@rumms.uni-mannheim.de> for testing and reporting this issue. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2513 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/superio/ite/it8705f')
-rw-r--r--src/superio/ite/it8705f/it8705f_early_serial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/superio/ite/it8705f/it8705f_early_serial.c b/src/superio/ite/it8705f/it8705f_early_serial.c
index 7b5c97e247..54ff45bd11 100644
--- a/src/superio/ite/it8705f/it8705f_early_serial.c
+++ b/src/superio/ite/it8705f/it8705f_early_serial.c
@@ -78,8 +78,8 @@ static void it8705f_enable_serial(device_t dev, unsigned iobase)
it8705f_sio_write(IT8705F_IR, 0x30, 0x1); /* Consumer IR */
it8705f_sio_write(IT8705F_MIDI, 0x30, 0x1); /* MIDI port */
- /* Select 24MHz/48MHz CLKIN (set/clear bit 0). TODO: Needed? */
- /* it8705f_sio_write(0x00, IT8705F_CONFIG_REG_CLOCKSEL, 0x01); */
+ /* Select 24MHz CLKIN (set bit 0). */
+ it8705f_sio_write(0x00, IT8705F_CONFIG_REG_CLOCKSEL, 0x01);
/* Clear software suspend mode (clear bit 0). TODO: Needed? */
/* it8705f_sio_write(0x00, IT8705F_CONFIG_REG_SWSUSP, 0x00); */