summaryrefslogtreecommitdiff
path: root/src/mainboard/starlabs/starbook/Kconfig
diff options
context:
space:
mode:
authorSean Rhodes <sean@starlabs.systems>2022-07-31 07:55:37 +0100
committerMartin Roth <martin.roth@amd.corp-partner.google.com>2022-10-06 18:15:25 +0000
commit976ca5e47777cb7148bfb423f59479d84d68fc3b (patch)
treeb1ccbd71f490841e810d1caf496b439f069641cf /src/mainboard/starlabs/starbook/Kconfig
parent33e2b923e9f786e706cb5ea18f39b28299a85953 (diff)
mb/starlabs/starbook: Add variant specific cmos.layout and cmos.default
Add variant specific cmos files, which avoid options like "Thunderbolt" existing in platforms that don't support such options. This change also removes entries that were never used, including: * smi_handler * usb_always_on Signed-off-by: Sean Rhodes <sean@starlabs.systems> Change-Id: I359e5c5bbf29eb474f2d3bc42a8e80afc0a5d38a Reviewed-on: https://review.coreboot.org/c/coreboot/+/66296 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/starlabs/starbook/Kconfig')
-rw-r--r--src/mainboard/starlabs/starbook/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mainboard/starlabs/starbook/Kconfig b/src/mainboard/starlabs/starbook/Kconfig
index 0e23ecf62c..8f51db4525 100644
--- a/src/mainboard/starlabs/starbook/Kconfig
+++ b/src/mainboard/starlabs/starbook/Kconfig
@@ -60,6 +60,12 @@ config CCD_PORT
default 6 if BOARD_STARLABS_LABTOP_CML
default 3
+config CMOS_DEFAULT_FILE
+ default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/variants/\$(CONFIG_VARIANT_DIR)/cmos.default" if BOARD_STARLABS_STARBOOK_TGL
+
+config CMOS_LAYOUT_FILE
+ default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/variants/\$(CONFIG_VARIANT_DIR)/cmos.layout" if BOARD_STARLABS_STARBOOK_TGL
+
config DEVICETREE
default "variants/\$(CONFIG_VARIANT_DIR)/devicetree.cb"