diff options
author | Martin Roth <martinroth@google.com> | 2017-07-07 10:17:14 -0600 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-07-08 19:02:13 +0000 |
commit | 96734f1b45b91e2b872602d9c29548c35fce987b (patch) | |
tree | de91155a247ca035bacd2cab6b1703696cbec07d /src | |
parent | 77a58b92e8d44d17b9aa06710ed728a697722b4a (diff) | |
download | coreboot-96734f1b45b91e2b872602d9c29548c35fce987b.tar.xz |
superio/ite/it8716f: Update init_ec
This is a follow-on to the superio IS_ENABLED() patch:
https://review.coreboot.org/#/c/20351/1
Change-Id: I7d070e3964609947959de60e2686dfe59fe77e1c
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/20490
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/superio/ite/it8716f/it8716f.h | 2 | ||||
-rw-r--r-- | src/superio/ite/it8716f/superio.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/superio/ite/it8716f/it8716f.h b/src/superio/ite/it8716f/it8716f.h index 3531a1301a..726c4cc548 100644 --- a/src/superio/ite/it8716f/it8716f.h +++ b/src/superio/ite/it8716f/it8716f.h @@ -34,9 +34,7 @@ #define IT8716F_GAME 0x09 /* GAME port */ #define IT8716F_IR 0x0a /* Consumer IR */ -#if IS_ENABLED(CONFIG_SUPERIO_ITE_IT8716F_OVERRIDE_FANCTL) /* Provided by mainboard, called by IT8716F superio.c. */ void init_ec(u16 base); -#endif #endif /* SUPERIO_ITE_IT8716F_H */ diff --git a/src/superio/ite/it8716f/superio.c b/src/superio/ite/it8716f/superio.c index 2ec38751ad..b4cd5e6d45 100644 --- a/src/superio/ite/it8716f/superio.c +++ b/src/superio/ite/it8716f/superio.c @@ -29,7 +29,7 @@ #if !IS_ENABLED(CONFIG_SUPERIO_ITE_IT8716F_OVERRIDE_FANCTL) -static void init_ec(u16 base) +void init_ec(u16 base) { u8 value; |