ITE IT8661F changes to match the common code structure.
authorUwe Hermann <uwe@hermann-uwe.de>
Wed, 10 Nov 2010 00:08:42 +0000 (00:08 +0000)
committerUwe Hermann <uwe@hermann-uwe.de>
Wed, 10 Nov 2010 00:08:42 +0000 (00:08 +0000)
commitf228a6cf93f662c3d178198aa9f8ff4d129227b3
tree659221c88df3706ef77f9693115cd361d3b70571
parentc29246739af6faa56ceba4e912968464cbc9f4de
ITE IT8661F changes to match the common code structure.

 - it8661f_enable_serial() is now in the usual format, using pnp_* functions.

 - Factor out pnp_enter_ext_func_mode()/pnp_exit_ext_func_mode().

 - Factor out it8661f_set_clkin() to set the CLKIN to 24/48MHz.

 - Factor out it8661f_enable_logical_devices(), might not be needed though.
   We leave it here until it's confirmed on hardware that it's not needed.

 - Move some #defines to it8661f.h.

 - Drop no longer used it8661f_sio_write().

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@6053 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
src/superio/ite/it8661f/it8661f.h
src/superio/ite/it8661f/it8661f_early_serial.c
src/superio/ite/it8661f/superio.c