From 9efe426cc4f093872542b75d4dd2b8286ea10ff4 Mon Sep 17 00:00:00 2001 From: Furquan Shaikh Date: Fri, 29 Jun 2018 11:51:16 -0700 Subject: ec/google/chromeec: Remove keyboard initialization Since none of the boards using chromeec select DRIVERS_PS2_KEYBOARD now, there is no need to call pc_keyboard_init anymore. This change gets rid of the call and adds an error message in case any mainboard using chromeec tries to select this config. BUG=b:110024487 Change-Id: Ia0b56abe0a5990e527277eaf3397e00dccda3e50 Signed-off-by: Furquan Shaikh Reviewed-on: https://review.coreboot.org/27293 Tested-by: build bot (Jenkins) Reviewed-by: Duncan Laurie Reviewed-by: Aaron Durbin Reviewed-by: Paul Menzel --- src/ec/google/chromeec/ec_lpc.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/ec') diff --git a/src/ec/google/chromeec/ec_lpc.c b/src/ec/google/chromeec/ec_lpc.c index 3078c220b6..1700bd6c46 100644 --- a/src/ec/google/chromeec/ec_lpc.c +++ b/src/ec/google/chromeec/ec_lpc.c @@ -18,7 +18,6 @@ #include #include #include -#include #include #include @@ -430,7 +429,6 @@ static void lpc_ec_init(struct device *dev) if (!dev->enabled) return; - pc_keyboard_init(NO_AUX_DEVICE); google_chromeec_init(); } -- cgit v1.2.3