summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorYidi Lin <yidi.lin@mediatek.com>2016-09-01 16:36:59 +0800
committerPatrick Georgi <pgeorgi@google.com>2016-10-25 17:10:49 +0200
commit79daac98903360db656c49f0078a2bd1744ca25b (patch)
tree051b6b361bee4ac780b4bb51dc044755106f007e /src/mainboard
parent4003283c517883c4fe1bbc129b4dd69c20949a44 (diff)
google/oak: Add derivative board Hana
CQ-DEPEND=CL:379684 BUG=chrome-os-partner:58064 TEST=verified on hana rev0 Change-Id: Icd076dcaf07a97f3b83b428b9619e8a4dafe744d Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 7c483951a0dcd419735fffb79e6187f9ca3b08a8 Original-Change-Id: I9d886abf15931496ac61e8fd38d7fd306f2a1bf7 Original-Signed-off-by: Yidi Lin <yidi.lin@mediatek.com> Original-Reviewed-on: https://chromium-review.googlesource.com/379504 Original-Commit-Ready: Julius Werner <jwerner@chromium.org> Original-Reviewed-by: Philip Chen <philipchen@chromium.org> Original-Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-on: https://review.coreboot.org/17107 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/oak/Kconfig3
-rw-r--r--src/mainboard/google/oak/Kconfig.name4
2 files changed, 7 insertions, 0 deletions
diff --git a/src/mainboard/google/oak/Kconfig b/src/mainboard/google/oak/Kconfig
index 267464305c..acb27de55f 100644
--- a/src/mainboard/google/oak/Kconfig
+++ b/src/mainboard/google/oak/Kconfig
@@ -79,17 +79,20 @@ config MAINBOARD_PART_NUMBER
string
default "Oak" if BOARD_GOOGLE_OAK
default "Elm" if BOARD_GOOGLE_ELM
+ default "Hana" if BOARD_GOOGLE_HANA
config GBB_HWID
string
depends on CHROMEOS
default "OAK TEST 6858" if BOARD_GOOGLE_OAK
default "ELM TEST 3839" if BOARD_GOOGLE_ELM
+ default "HANA TEST 5855" if BOARD_GOOGLE_HANA
# All Oak-derivatives count their board IDs as 0 being equivalent to Oak rev6.
config BOARD_ID_ADJUSTMENT
int
default 0 if BOARD_GOOGLE_OAK
default 7 if BOARD_GOOGLE_ELM
+ default 11 if BOARD_GOOGLE_HANA
endif # BOARD_GOOGLE_OAK
diff --git a/src/mainboard/google/oak/Kconfig.name b/src/mainboard/google/oak/Kconfig.name
index ba85ad858f..95e4a3d4c9 100644
--- a/src/mainboard/google/oak/Kconfig.name
+++ b/src/mainboard/google/oak/Kconfig.name
@@ -5,3 +5,7 @@ config BOARD_GOOGLE_OAK
config BOARD_GOOGLE_ELM
bool "Elm"
select BOARD_GOOGLE_OAK_COMMON
+
+config BOARD_GOOGLE_HANA
+ bool "Hana"
+ select BOARD_GOOGLE_OAK_COMMON