summaryrefslogtreecommitdiff
path: root/src/mainboard/starlabs/lite/Kconfig
diff options
context:
space:
mode:
authorSean Rhodes <sean@starlabs.systems>2022-07-31 17:23:42 +0100
committerMartin Roth <martin.roth@amd.corp-partner.google.com>2022-10-06 18:15:53 +0000
commit47ee85f4d5b6818d1216511d0d7160b6b9431cc5 (patch)
tree12cbc37af5f8b9ed5123e0bcbe04a41538412ebf /src/mainboard/starlabs/lite/Kconfig
parent976ca5e47777cb7148bfb423f59479d84d68fc3b (diff)
mb/starlabs/lite: Add variant specific cmos.layout and cmos.default
Add variant specific cmos files, which avoid options like "FastCharge" existing in platforms that don't support such options. Signed-off-by: Sean Rhodes <sean@starlabs.systems> Change-Id: I04264cf72d47ef719acfd144d8bf9acb0ceccc11 Reviewed-on: https://review.coreboot.org/c/coreboot/+/66297 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/starlabs/lite/Kconfig')
-rw-r--r--src/mainboard/starlabs/lite/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mainboard/starlabs/lite/Kconfig b/src/mainboard/starlabs/lite/Kconfig
index 7783df1649..fd177d8e01 100644
--- a/src/mainboard/starlabs/lite/Kconfig
+++ b/src/mainboard/starlabs/lite/Kconfig
@@ -30,6 +30,12 @@ config BOARD_STARLABS_LITE_GLKR
if BOARD_STARLABS_LITE_SERIES
+config CMOS_DEFAULT_FILE
+ default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/variants/\$(CONFIG_VARIANT_DIR)/cmos.default" if BOARD_STARLABS_LITE_GLKR
+
+config CMOS_LAYOUT_FILE
+ default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/variants/\$(CONFIG_VARIANT_DIR)/cmos.layout" if BOARD_STARLABS_LITE_GLKR
+
config DEVICETREE
default "variants/\$(CONFIG_VARIANT_DIR)/devicetree.cb"