summaryrefslogtreecommitdiff
path: root/src/superio/ite/it8661f/superio.c
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2010-11-10 00:08:42 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2010-11-10 00:08:42 +0000
commitf228a6cf93f662c3d178198aa9f8ff4d129227b3 (patch)
tree659221c88df3706ef77f9693115cd361d3b70571 /src/superio/ite/it8661f/superio.c
parentc29246739af6faa56ceba4e912968464cbc9f4de (diff)
downloadcoreboot-f228a6cf93f662c3d178198aa9f8ff4d129227b3.tar.xz
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
Diffstat (limited to 'src/superio/ite/it8661f/superio.c')
-rw-r--r--src/superio/ite/it8661f/superio.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/superio/ite/it8661f/superio.c b/src/superio/ite/it8661f/superio.c
index e367ab8555..f4b729a73a 100644
--- a/src/superio/ite/it8661f/superio.c
+++ b/src/superio/ite/it8661f/superio.c
@@ -25,10 +25,12 @@
#include "chip.h"
#include "it8661f.h"
+/* TODO: Add pnp_enter_ext_func_mode() etc. and wrap functions. */
+
static void init(device_t dev)
{
struct superio_ite_it8661f_config *conf = dev->chip_info;
- struct resource *res0, *res1;
+ struct resource *res0;
if (!dev->enabled)
return;