summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-07-23 11:44:04 +0200
committerFelix Held <felix-coreboot@felixheld.de>2021-07-26 14:07:38 +0000
commitee3d09b48ed572df059de50537e6ba0e4afbfbf1 (patch)
treea0667e87718bcb390547bae24d15b12dad67cdd3 /src/mainboard/lenovo
parent75be3245247122b8eca386fca888eff1fbeae938 (diff)
mb/*: Specify type of `VARIANT_DIR` once
Specify the type of the `VARIANT_DIR` Kconfig symbol once instead of doing so on each and every mainboard. Change-Id: Iea2f992a59e41e00fec3cdc9d6a13b5f3ab0a437 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/56558 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Felix Singer <felixsinger@posteo.net> Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/lenovo')
-rw-r--r--src/mainboard/lenovo/t400/Kconfig1
-rw-r--r--src/mainboard/lenovo/t430s/Kconfig1
-rw-r--r--src/mainboard/lenovo/t520/Kconfig1
-rw-r--r--src/mainboard/lenovo/t530/Kconfig1
-rw-r--r--src/mainboard/lenovo/t60/Kconfig1
-rw-r--r--src/mainboard/lenovo/x200/Kconfig1
-rw-r--r--src/mainboard/lenovo/x220/Kconfig1
-rw-r--r--src/mainboard/lenovo/x230/Kconfig1
8 files changed, 0 insertions, 8 deletions
diff --git a/src/mainboard/lenovo/t400/Kconfig b/src/mainboard/lenovo/t400/Kconfig
index 5e17eb5eea..74977eba92 100644
--- a/src/mainboard/lenovo/t400/Kconfig
+++ b/src/mainboard/lenovo/t400/Kconfig
@@ -49,7 +49,6 @@ config MAINBOARD_DIR
default "lenovo/t400"
config VARIANT_DIR
- string
default "t400" if BOARD_LENOVO_T400 || BOARD_LENOVO_T500 \
|| BOARD_LENOVO_R400 || BOARD_LENOVO_W500
default "r500" if BOARD_LENOVO_R500
diff --git a/src/mainboard/lenovo/t430s/Kconfig b/src/mainboard/lenovo/t430s/Kconfig
index 88816859db..710dda2f71 100644
--- a/src/mainboard/lenovo/t430s/Kconfig
+++ b/src/mainboard/lenovo/t430s/Kconfig
@@ -51,7 +51,6 @@ config MAINBOARD_DIR
default "lenovo/t430s"
config VARIANT_DIR
- string
default "t430s" if BOARD_LENOVO_T430S
default "t431s" if BOARD_LENOVO_T431S
diff --git a/src/mainboard/lenovo/t520/Kconfig b/src/mainboard/lenovo/t520/Kconfig
index e8f1df7977..5e120566ff 100644
--- a/src/mainboard/lenovo/t520/Kconfig
+++ b/src/mainboard/lenovo/t520/Kconfig
@@ -43,7 +43,6 @@ config VBOOT_VBNV_OFFSET
default 0x2a
config VARIANT_DIR
- string
default "t520" if BOARD_LENOVO_T520
default "w520" if BOARD_LENOVO_W520
diff --git a/src/mainboard/lenovo/t530/Kconfig b/src/mainboard/lenovo/t530/Kconfig
index eb301db15c..c2d649c3a0 100644
--- a/src/mainboard/lenovo/t530/Kconfig
+++ b/src/mainboard/lenovo/t530/Kconfig
@@ -47,7 +47,6 @@ config FMDFILE
default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/vboot-rwab.fmd" if VBOOT
config VARIANT_DIR
- string
default "t530" if BOARD_LENOVO_T530
default "w530" if BOARD_LENOVO_W530
diff --git a/src/mainboard/lenovo/t60/Kconfig b/src/mainboard/lenovo/t60/Kconfig
index 80e9c0ee1c..c49cd0a5a5 100644
--- a/src/mainboard/lenovo/t60/Kconfig
+++ b/src/mainboard/lenovo/t60/Kconfig
@@ -27,7 +27,6 @@ config MAINBOARD_DIR
default "lenovo/t60"
config VARIANT_DIR
- string
default "t60" if BOARD_LENOVO_T60 || BOARD_LENOVO_R60
default "z61t" if BOARD_LENOVO_Z61T
diff --git a/src/mainboard/lenovo/x200/Kconfig b/src/mainboard/lenovo/x200/Kconfig
index c8783c1e72..b4d677ad7e 100644
--- a/src/mainboard/lenovo/x200/Kconfig
+++ b/src/mainboard/lenovo/x200/Kconfig
@@ -45,7 +45,6 @@ config MAINBOARD_DIR
default "lenovo/x200"
config VARIANT_DIR
- string
default "x200" if BOARD_LENOVO_X200
default "x301" if BOARD_LENOVO_X301
diff --git a/src/mainboard/lenovo/x220/Kconfig b/src/mainboard/lenovo/x220/Kconfig
index f4065d0fc7..8530e49dc5 100644
--- a/src/mainboard/lenovo/x220/Kconfig
+++ b/src/mainboard/lenovo/x220/Kconfig
@@ -45,7 +45,6 @@ config MAINBOARD_DIR
default "lenovo/x220"
config VARIANT_DIR
- string
default "x220" if BOARD_LENOVO_X220 || BOARD_LENOVO_X220I
default "x1" if BOARD_LENOVO_X1
diff --git a/src/mainboard/lenovo/x230/Kconfig b/src/mainboard/lenovo/x230/Kconfig
index cc9d708278..61144b89c6 100644
--- a/src/mainboard/lenovo/x230/Kconfig
+++ b/src/mainboard/lenovo/x230/Kconfig
@@ -51,7 +51,6 @@ config MAINBOARD_DIR
default "lenovo/x230"
config VARIANT_DIR
- string
default "x230" if BOARD_LENOVO_X230 || BOARD_LENOVO_X230T
default "x230s" if BOARD_LENOVO_X230S