From 9efe426cc4f093872542b75d4dd2b8286ea10ff4 Mon Sep 17 00:00:00 2001
From: Furquan Shaikh <furquan@google.com>
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 <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>
---
 src/ec/google/chromeec/ec_lpc.c | 2 --
 1 file changed, 2 deletions(-)

(limited to 'src')

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();
 }
 
-- 
cgit v1.2.3