summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/x230/Kconfig
diff options
context:
space:
mode:
authorBill XIE <persmule@hardenedlinux.org>2020-05-18 21:22:50 +0800
committerAlexander Couzens <lynxis@fe80.eu>2020-05-21 03:05:38 +0000
commitebf1932f23dcacf995064cf1c790568b6914f99a (patch)
tree9d7e2594d01deac525f2ef7cdaab5eed02f52357 /src/mainboard/lenovo/x230/Kconfig
parentcfd78b1500bed6d3d410f984450c45f28b700aa2 (diff)
mb/lenovo/x230: Turn X230 into a variant
Other variants would be added later. Change-Id: Ic6af14f0aa7a6f7378048f3c38d5713c18950366 Signed-off-by: Bill XIE <persmule@hardenedlinux.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41509 Reviewed-by: Alexander Couzens <lynxis@fe80.eu> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/lenovo/x230/Kconfig')
-rw-r--r--src/mainboard/lenovo/x230/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/x230/Kconfig b/src/mainboard/lenovo/x230/Kconfig
index 7d563efb2b..37b264dab2 100644
--- a/src/mainboard/lenovo/x230/Kconfig
+++ b/src/mainboard/lenovo/x230/Kconfig
@@ -50,11 +50,19 @@ config MAINBOARD_DIR
string
default "lenovo/x230"
+config VARIANT_DIR
+ string
+ default "x230" if BOARD_LENOVO_X230 || BOARD_LENOVO_X230T
+
config MAINBOARD_PART_NUMBER
string
default "ThinkPad X230" if BOARD_LENOVO_X230
default "ThinkPad X230t" if BOARD_LENOVO_X230T
+config OVERRIDE_DEVICETREE
+ string
+ default "variants/$(CONFIG_VARIANT_DIR)/overridetree.cb"
+
config MAX_CPUS
int
default 8