summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/t60/Kconfig
diff options
context:
space:
mode:
authorPeter Lemenkov <lemenkov@gmail.com>2019-07-07 13:33:34 +0200
committerArthur Heymans <arthur@aheymans.xyz>2019-10-08 09:17:05 +0000
commitc71093b21a9c7741fc461233bec57fd3197c9f70 (patch)
tree7667bbc9736f6c31c7eadce157574d748ca8f6e9 /src/mainboard/lenovo/t60/Kconfig
parentb7f1c2d2f1da42c6fbcdb9c5c394f5ca128296ab (diff)
mb/lenovo/{t60,z61t}: Convert to variant board
Change-Id: I0a3076780ac5cf183235f06e4c56d0707bf5e6ca Signed-off-by: Peter Lemenkov <lemenkov@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34123 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/mainboard/lenovo/t60/Kconfig')
-rw-r--r--src/mainboard/lenovo/t60/Kconfig16
1 files changed, 13 insertions, 3 deletions
diff --git a/src/mainboard/lenovo/t60/Kconfig b/src/mainboard/lenovo/t60/Kconfig
index e4e87c93ef..725528de5b 100644
--- a/src/mainboard/lenovo/t60/Kconfig
+++ b/src/mainboard/lenovo/t60/Kconfig
@@ -1,4 +1,4 @@
-if BOARD_LENOVO_T60
+if BOARD_LENOVO_T60 || BOARD_LENOVO_Z61T
config BOARD_SPECIFIC_OPTIONS
def_bool y
@@ -28,12 +28,22 @@ config MAINBOARD_DIR
string
default lenovo/t60
+config VARIANT_DIR
+ string
+ default "t60" if BOARD_LENOVO_T60
+ default "z61t" if BOARD_LENOVO_Z61T
+
+config DEVICETREE
+ string
+ default "variants/$(CONFIG_VARIANT_DIR)/devicetree.cb"
+
config MAINBOARD_PART_NUMBER
string
- default "ThinkPad T60"
+ default "ThinkPad T60" if BOARD_LENOVO_T60
+ default "ThinkPad Z61t" if BOARD_LENOVO_Z61T
config MAX_CPUS
int
default 2
-endif
+endif # BOARD_LENOVO_T60 || BOARD_LENOVO_Z61T