summaryrefslogtreecommitdiff
path: root/src/mainboard/google/kukui/Kconfig
diff options
context:
space:
mode:
authorTristan Shieh <tristan.shieh@mediatek.com>2018-08-21 13:40:23 +0800
committerMartin Roth <martinroth@google.com>2018-08-28 15:12:14 +0000
commit990d825196227190d3625c3b44a082816748bc3b (patch)
treecb3cddae59d43301f5eed8253964ef16d5b1ebab /src/mainboard/google/kukui/Kconfig
parentfdcc0b39156f915cdc8ee7221fca6d8640545f25 (diff)
downloadcoreboot-990d825196227190d3625c3b44a082816748bc3b.tar.xz
google/kukui: Init SPI bus for EC
Set EC SPI bus config and init SPI bus according to the config. BUG=b:80501386 BRANCH=none TEST=EC is not working yet. This makes depthcharge go forward a little. Change-Id: Id9209b6429417430cfcf7f5a5a1659e7e4bc7866 Signed-off-by: Tristan Shieh <tristan.shieh@mediatek.com> Reviewed-on: https://review.coreboot.org/28251 Reviewed-by: Joel Kitching <kitching@google.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Julius Werner <jwerner@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/kukui/Kconfig')
-rw-r--r--src/mainboard/google/kukui/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/google/kukui/Kconfig b/src/mainboard/google/kukui/Kconfig
index 6714b442fa..9e0146413c 100644
--- a/src/mainboard/google/kukui/Kconfig
+++ b/src/mainboard/google/kukui/Kconfig
@@ -25,4 +25,8 @@ config BOOT_DEVICE_SPI_FLASH_BUS
int
default 1
+config EC_GOOGLE_CHROMEEC_SPI_BUS
+ hex
+ default 0x2
+
endif