From 2845a4487159aa4b1dba58d977f52c449574fc8e Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sat, 19 Oct 2013 01:42:35 -0700 Subject: [PATCH] nyan: Enable the CHROMEOS and ChromeOS EC related kconfig options. We need to enable the CHROMEOS option in order to put GPIO information in the coreboot tables, and that turns on other code which expects to be able to talk to the ChromeOS EC. BUG=None TEST=Built and booted into depthcharge on nyan. BRANCH=None Change-Id: Ie2e1276f661e392841899231f3f22e158614bfa1 Signed-off-by: Gabe Black Reviewed-on: https://chromium-review.googlesource.com/173792 Reviewed-by: Gabe Black Tested-by: Gabe Black Commit-Queue: Gabe Black --- src/mainboard/google/nyan/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/mainboard/google/nyan/Kconfig b/src/mainboard/google/nyan/Kconfig index 770b1a0ef8..9164489837 100644 --- a/src/mainboard/google/nyan/Kconfig +++ b/src/mainboard/google/nyan/Kconfig @@ -22,6 +22,9 @@ if BOARD_GOOGLE_NYAN config BOARD_SPECIFIC_OPTIONS # dummy def_bool y select ARCH_ARM + select CHROMEOS + select EC_GOOGLE_CHROMEEC + select EC_GOOGLE_CHROMEEC_SPI select SOC_NVIDIA_TEGRA124 select MAINBOARD_HAS_BOOTBLOCK_INIT @@ -71,4 +74,8 @@ config BOOT_MEDIA_SPI_CHIP_SELECT help Which chip select to use for boot media. +config EC_GOOGLE_CHROMEEC_SPI_BUS + hex + default 1 + endif # BOARD_GOOGLE_NYAN