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>
This commit is contained in:
parent
77a58b92e8
commit
96734f1b45
|
@ -34,9 +34,7 @@
|
||||||
#define IT8716F_GAME 0x09 /* GAME port */
|
#define IT8716F_GAME 0x09 /* GAME port */
|
||||||
#define IT8716F_IR 0x0a /* Consumer IR */
|
#define IT8716F_IR 0x0a /* Consumer IR */
|
||||||
|
|
||||||
#if IS_ENABLED(CONFIG_SUPERIO_ITE_IT8716F_OVERRIDE_FANCTL)
|
|
||||||
/* Provided by mainboard, called by IT8716F superio.c. */
|
/* Provided by mainboard, called by IT8716F superio.c. */
|
||||||
void init_ec(u16 base);
|
void init_ec(u16 base);
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* SUPERIO_ITE_IT8716F_H */
|
#endif /* SUPERIO_ITE_IT8716F_H */
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
|
|
||||||
#if !IS_ENABLED(CONFIG_SUPERIO_ITE_IT8716F_OVERRIDE_FANCTL)
|
#if !IS_ENABLED(CONFIG_SUPERIO_ITE_IT8716F_OVERRIDE_FANCTL)
|
||||||
|
|
||||||
static void init_ec(u16 base)
|
void init_ec(u16 base)
|
||||||
{
|
{
|
||||||
u8 value;
|
u8 value;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue