summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/kahlee/mainboard.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mainboard/google/kahlee/mainboard.c b/src/mainboard/google/kahlee/mainboard.c
index 781a71a393..9d84f0d56b 100644
--- a/src/mainboard/google/kahlee/mainboard.c
+++ b/src/mainboard/google/kahlee/mainboard.c
@@ -76,7 +76,10 @@ static void pirq_setup(void)
picr_data_ptr = mainboard_picr_data;
}
-
+static void mainboard_init(void *chip_info)
+{
+ mainboard_ec_init();
+}
/*************************************************
* Dedicated mainboard function
@@ -88,10 +91,9 @@ static void kahlee_enable(device_t dev)
/* Initialize the PIRQ data structures for consumption */
pirq_setup();
-
- mainboard_ec_init();
}
struct chip_operations mainboard_ops = {
+ .init = mainboard_init,
.enable_dev = kahlee_enable,
};