summaryrefslogtreecommitdiff
path: root/src/mainboard/opencellular/rotundu/Kconfig
diff options
context:
space:
mode:
authorPhilipp Deppenwiese <zaolin@das-labor.org>2017-12-18 07:21:57 +0100
committerPhilipp Deppenwiese <zaolin.daisuki@gmail.com>2018-07-28 17:14:27 +0000
commitd31d1f8bd116bfa1313ec1afd32f5866f9405777 (patch)
tree6971a1b260d4716c0fbc4c3d094ee0535aa944a6 /src/mainboard/opencellular/rotundu/Kconfig
parentfa1f6ff09e1f308bd34f0d7af71c5022083888ee (diff)
opencellular/rotundu: Introduce variants for OC
* Add Supabrck v1 variant * Modify rotundu base board Change-Id: Id20e9d4ed7ac071d25a69eee63c9ec544d2ad152 Signed-off-by: Philipp Deppenwiese <zaolin@das-labor.org> Reviewed-on: https://review.coreboot.org/22924 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/mainboard/opencellular/rotundu/Kconfig')
-rw-r--r--src/mainboard/opencellular/rotundu/Kconfig25
1 files changed, 18 insertions, 7 deletions
diff --git a/src/mainboard/opencellular/rotundu/Kconfig b/src/mainboard/opencellular/rotundu/Kconfig
index e118ad5317..9b50cef7fc 100644
--- a/src/mainboard/opencellular/rotundu/Kconfig
+++ b/src/mainboard/opencellular/rotundu/Kconfig
@@ -15,10 +15,8 @@
## GNU General Public License for more details.
##
-if BOARD_OPENCELLULAR_ROTUNDU
-
-config BOARD_SPECIFIC_OPTIONS # dummy
- def_bool y
+config BOARD_OPENCELLULAR_BASEBOARD_ROTUNDU
+ def_bool n
select SOC_INTEL_FSP_BAYTRAIL
select BOARD_ROMSIZE_KB_16384
select HAVE_ACPI_TABLES
@@ -30,13 +28,26 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select USE_BLOBS
select HAVE_FSP_BIN if FSP_PACKAGE_DEFAULT
-config MAINBOARD_DIR
+if BOARD_OPENCELLULAR_BASEBOARD_ROTUNDU
+
+config VARIANT_DIR
string
- default "opencellular/rotundu"
+ default "rotundu" if BOARD_OPENCELLULAR_ROTUNDU
+ default "supabrckv1" if BOARD_OPENCELLULAR_SUPABRCKV1
config MAINBOARD_PART_NUMBER
string
- default "Rotundu"
+ default "Rotundu" if BOARD_OPENCELLULAR_ROTUNDU
+ default "Supabrck v1" if BOARD_OPENCELLULAR_SUPABRCKV1
+
+config DEVICETREE
+ string
+ default "variants/rotundu/devicetree.cb" if BOARD_OPENCELLULAR_ROTUNDU
+ default "variants/supabrckv1/devicetree.cb" if BOARD_OPENCELLULAR_SUPABRCKV1
+
+config MAINBOARD_DIR
+ string
+ default "opencellular/rotundu"
config MAINBOARD_VENDOR
string