summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainboard/google/zork/ec.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/mainboard/google/zork/ec.c b/src/mainboard/google/zork/ec.c
index 4c4329dd07..d770d27040 100644
--- a/src/mainboard/google/zork/ec.c
+++ b/src/mainboard/google/zork/ec.c
@@ -3,10 +3,9 @@
#include <acpi/acpi.h>
#include <console/console.h>
#include <ec/google/chromeec/ec.h>
-#include <soc/southbridge.h>
#include <variant/ec.h>
-static void ramstage_ec_init(void)
+void mainboard_ec_init(void)
{
const struct google_chromeec_event_info info = {
.log_events = MAINBOARD_EC_LOG_EVENTS,
@@ -19,9 +18,3 @@ static void ramstage_ec_init(void)
google_chromeec_events_init(&info, acpi_is_wakeup_s3());
}
-
-void mainboard_ec_init(void)
-{
- if (ENV_RAMSTAGE)
- ramstage_ec_init();
-}