From 67618dd25001e74d525997d2670102f2e5a631e2 Mon Sep 17 00:00:00 2001 From: YH Lin Date: Fri, 11 Jan 2019 12:59:41 -0800 Subject: mb/google/kukui: add flapjack on top of kukui Add placeholder for future flapjack additions/modifications. BUG=None BRANCH=kukui TEST=build with kukui/flapjack configurations Signed-off-by: YH Lin Change-Id: Ib9cd39e284f19b9179da73ed9f2b13d97442960e Reviewed-on: https://review.coreboot.org/c/30859 Reviewed-by: Julius Werner Tested-by: build bot (Jenkins) --- src/mainboard/google/kukui/Kconfig | 24 ++++++++++++++++++++++-- src/mainboard/google/kukui/Kconfig.name | 9 ++++++++- 2 files changed, 30 insertions(+), 3 deletions(-) (limited to 'src/mainboard/google/kukui') diff --git a/src/mainboard/google/kukui/Kconfig b/src/mainboard/google/kukui/Kconfig index d8ad84bb0d..7635e5fcf7 100644 --- a/src/mainboard/google/kukui/Kconfig +++ b/src/mainboard/google/kukui/Kconfig @@ -1,4 +1,23 @@ -if BOARD_GOOGLE_KUKUI +## +## This file is part of the coreboot project. +## +## Copyright 2019 Google Inc. +## +## This program is free software; you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation; version 2 of the License. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## + +# Umbrella option to be selected by variant boards. +config BOARD_GOOGLE_KUKUI_COMMON + def_bool n + +if BOARD_GOOGLE_KUKUI_COMMON config VBOOT select EC_GOOGLE_CHROMEEC_SWITCHES @@ -25,7 +44,8 @@ config MAINBOARD_DIR config MAINBOARD_PART_NUMBER string - default "Kukui" + default "Kukui" if BOARD_GOOGLE_KUKUI + default "Flapjack" if BOARD_GOOGLE_FLAPJACK config DRIVER_TPM_SPI_BUS hex diff --git a/src/mainboard/google/kukui/Kconfig.name b/src/mainboard/google/kukui/Kconfig.name index ce3ac9e90b..6c84e264fa 100644 --- a/src/mainboard/google/kukui/Kconfig.name +++ b/src/mainboard/google/kukui/Kconfig.name @@ -1,2 +1,9 @@ +comment "Kukui" + config BOARD_GOOGLE_KUKUI - bool "Kukui" + bool "-> Kukui" + select BOARD_GOOGLE_KUKUI_COMMON + +config BOARD_GOOGLE_FLAPJACK + bool "-> Flapjack" + select BOARD_GOOGLE_KUKUI_COMMON -- cgit v1.2.3