aboutsummaryrefslogtreecommitdiff
path: root/src/ec/google
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2018-06-29 11:51:16 -0700
committerFurquan Shaikh <furquan@google.com>2018-07-03 04:05:21 +0000
commit9efe426cc4f093872542b75d4dd2b8286ea10ff4 (patch)
tree6a746884e92ae363da6dc2ca2a32f093f7640061 /src/ec/google
parent26475572a7a823d72284cedf8bf09f336ba26379 (diff)
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 <furquan@google.com> Reviewed-on: https://review.coreboot.org/27293 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/ec/google')
-rw-r--r--src/ec/google/chromeec/ec_lpc.c2
1 files changed, 0 insertions, 2 deletions
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 <console/console.h>
#include <delay.h>
#include <device/pnp.h>
-#include <pc80/keyboard.h>
#include <stdint.h>
#include <stdlib.h>
@@ -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();
}