summaryrefslogtreecommitdiff
path: root/src/mainboard/google/kahlee/ec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/kahlee/ec.c')
-rw-r--r--src/mainboard/google/kahlee/ec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainboard/google/kahlee/ec.c b/src/mainboard/google/kahlee/ec.c
index 7164591e11..1080902702 100644
--- a/src/mainboard/google/kahlee/ec.c
+++ b/src/mainboard/google/kahlee/ec.c
@@ -16,6 +16,7 @@
#include <arch/acpi.h>
#include <console/console.h>
#include <ec/google/chromeec/ec.h>
+#include <amdblocks/lpc.h>
#include <soc/southbridge.h>
#include <variant/ec.h>
@@ -49,7 +50,7 @@ static void early_ec_init(void)
printk(BIOS_DEBUG,
"LPC Setup google_chromeec_ioport_range: %04x, %08zx\n",
ec_ioport_base, ec_ioport_size);
- status = sb_set_wideio_range(ec_ioport_base, ec_ioport_size);
+ status = lpc_set_wideio_range(ec_ioport_base, ec_ioport_size);
if (status == WIDEIO_RANGE_ERROR)
printk(BIOS_WARNING, "ERROR: Failed to assign a range\n");
else