summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorYidi Lin <yidi.lin@mediatek.com>2016-04-20 07:38:53 +0800
committerPatrick Georgi <pgeorgi@google.com>2016-05-09 08:34:19 +0200
commit374c50e8764b5cc7b35699a13abefdf8c6c4acf0 (patch)
tree555ac4a6d7d6cdd795e61462bdf06c472b3ac4c9 /src/mainboard
parent19318ddab5030acfe0a6410c1775d03551d8ac37 (diff)
google/oak: Configure MAINBOARD_PART_NUMBER by the board name
BRANCH=none BUG=none TEST=check CONFIG_MAINBOARD_PART_NUMBER value in the coreboot.config Change-Id: Iefae44f4cd16d0e749f5b88d80ef6e5c23498c6d Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 99b26f5a68054619c519c945172e56c10f353558 Original-Change-Id: I51c47d114049caf04ccb491096b39696e6af2ab3 Original-Signed-off-by: Yidi Lin <yidi.lin@mediatek.com> Original-Reviewed-on: https://chromium-review.googlesource.com/339800 Original-Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-on: https://review.coreboot.org/14693 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/oak/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainboard/google/oak/Kconfig b/src/mainboard/google/oak/Kconfig
index 33f5aba775..34031bc49a 100644
--- a/src/mainboard/google/oak/Kconfig
+++ b/src/mainboard/google/oak/Kconfig
@@ -44,7 +44,8 @@ config MAINBOARD_DIR
config MAINBOARD_PART_NUMBER
string
- default "Oak"
+ default "Elm" if BOARD_GOOGLE_ELM
+ default "Oak" if BOARD_GOOGLE_OAK
config MAINBOARD_VENDOR
string