summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorItamar <itamar.gold@mediatek.com>2015-07-31 17:10:46 +0800
committerPatrick Georgi <pgeorgi@google.com>2016-01-22 19:31:25 +0100
commit369ae53ef49fe0b5f0854bc61754f51aa4dd9706 (patch)
tree2d1cd23f50a4b7ec85743ad973c33c18a6574509 /src/mainboard/google
parent49cb61b41a5ac0e2c446a50c9258ca6c27da0153 (diff)
downloadcoreboot-369ae53ef49fe0b5f0854bc61754f51aa4dd9706.tar.xz
google/oak: Add support for verstage
Add support for verstage [pg: split original commit into multiple commits] Change-Id: I8c9fe02f26bf8fa8381a7502a778bed300684986 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 2827aa08ff8712c0245a22378f3ddb0ca054255d Original-Change-Id: I94a9ee2c00e25a37a92133f813d0cd11a3503656 Original-Signed-off-by: Yidi Lin <yidi.lin@mediatek.com> Original-Reviewed-on: https://chromium-review.googlesource.com/292662 Original-Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-on: https://review.coreboot.org/13052 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/oak/Kconfig10
-rw-r--r--src/mainboard/google/oak/Makefile.inc3
2 files changed, 13 insertions, 0 deletions
diff --git a/src/mainboard/google/oak/Kconfig b/src/mainboard/google/oak/Kconfig
index 82e83e7ab0..2e311a7609 100644
--- a/src/mainboard/google/oak/Kconfig
+++ b/src/mainboard/google/oak/Kconfig
@@ -24,10 +24,12 @@ config BOARD_SPECIFIC_OPTIONS
select EC_GOOGLE_CHROMEEC_SPI
select MAINBOARD_HAS_NATIVE_VGA_INIT
select MAINBOARD_DO_NATIVE_VGA_INIT
+ select MAINBOARD_HAS_CHROMEOS
config CHROMEOS
select CHROMEOS_VBNV_EC
select EC_SOFTWARE_SYNC
+ select VBOOT2_MOCK_SECDATA
select VIRTUAL_DEV_SWITCH
config MAINBOARD_DIR
@@ -46,4 +48,12 @@ config EC_GOOGLE_CHROMEEC_SPI_BUS
hex
default 0
+config DRIVER_TPM_I2C_BUS
+ hex
+ default 0x2
+
+config DRIVER_TPM_I2C_ADDR
+ hex
+ default 0x20
+
endif # BOARD_GOOGLE_OAK
diff --git a/src/mainboard/google/oak/Makefile.inc b/src/mainboard/google/oak/Makefile.inc
index f2e1a1ad21..c7f0401b1c 100644
--- a/src/mainboard/google/oak/Makefile.inc
+++ b/src/mainboard/google/oak/Makefile.inc
@@ -18,6 +18,9 @@ bootblock-y += memlayout.ld
bootblock-y += chromeos.c
bootblock-y += boardid.c
+verstage-y += chromeos.c
+verstage-y += memlayout.ld
+
romstage-y += chromeos.c
romstage-y += romstage.c
romstage-y += memlayout.ld