summaryrefslogtreecommitdiff
path: root/src/mainboard/intel/amenia/mainboard.c
diff options
context:
space:
mode:
authorDivya Sasidharan <divya.s.sasidharan@intel.com>2016-02-08 09:45:37 -0800
committerAaron Durbin <adurbin@chromium.org>2016-04-28 05:13:54 +0200
commitcbf1a0fec8b84dc936a35428b835501ad0f46a30 (patch)
treeba9fc31f4fe0b4b77885a9b35778f8324bb8b68e /src/mainboard/intel/amenia/mainboard.c
parent4520c5e757cf280b7029a99adff60baed52493ce (diff)
downloadcoreboot-cbf1a0fec8b84dc936a35428b835501ad0f46a30.tar.xz
mainboard/amenia: Enable Chrome EC Interface/Keyboard
Enabled LPC channel between host and EC. Superio.asl will enable proper probing of onboard keyboard. Change-Id: I57014fc90b345661853280ae3402f86e56af5fb9 Signed-off-by: Divya Sasidharan <divya.s.sasidharan@intel.com> Signed-off-by: Freddy Paul <freddy.paul@intel.com> Reviewed-on: https://review.coreboot.org/14468 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/mainboard/intel/amenia/mainboard.c')
-rw-r--r--src/mainboard/intel/amenia/mainboard.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/intel/amenia/mainboard.c b/src/mainboard/intel/amenia/mainboard.c
index 9949061347..e0c3fc9c9a 100644
--- a/src/mainboard/intel/amenia/mainboard.c
+++ b/src/mainboard/intel/amenia/mainboard.c
@@ -17,6 +17,8 @@
#include <device/device.h>
#include <soc/gpio.h>
+#include <soc/pci_devs.h>
+#include "ec.h"
/* TODO: Move GPIO config to its own file once we get more GPIOs in the list */
static const struct pad_config amenia_gpios[] = {
@@ -136,6 +138,7 @@ static const struct pad_config amenia_gpios[] = {
static void mainboard_init(void *chip_info)
{
gpio_configure_pads(amenia_gpios, ARRAY_SIZE(amenia_gpios));
+ mainboard_ec_init();
}
struct chip_operations mainboard_ops = {