summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-07-23 11:11:02 +0200
committerFelix Held <felix-coreboot@felixheld.de>2021-07-26 14:05:29 +0000
commit2c03ffc8df73fe95d8365f69070169af2be9b715 (patch)
tree9c7996cf9965eb7002a7b0e13e87925816bf1f02 /src/mainboard/lenovo
parent9cddae151af30339790748cc0ff40df47e24f019 (diff)
mb/*: Specify type of `MAINBOARD_PART_NUMBER` once
Specify the type of the `MAINBOARD_PART_NUMBER` Kconfig symbol once instead of doing so on each and every mainboard. Change-Id: I3692f9e82fe90af4d0da1d037018a20aa1b45793 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/56554 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Frans Hendriks <fhendriks@eltan.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/g505s/Kconfig1
-rw-r--r--src/mainboard/lenovo/l520/Kconfig1
-rw-r--r--src/mainboard/lenovo/s230u/Kconfig1
-rw-r--r--src/mainboard/lenovo/t400/Kconfig1
-rw-r--r--src/mainboard/lenovo/t410/Kconfig1
-rw-r--r--src/mainboard/lenovo/t420/Kconfig1
-rw-r--r--src/mainboard/lenovo/t420s/Kconfig1
-rw-r--r--src/mainboard/lenovo/t430/Kconfig1
-rw-r--r--src/mainboard/lenovo/t430s/Kconfig1
-rw-r--r--src/mainboard/lenovo/t440p/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/thinkcentre_a58/Kconfig1
-rw-r--r--src/mainboard/lenovo/w541/Kconfig1
-rw-r--r--src/mainboard/lenovo/x131e/Kconfig1
-rw-r--r--src/mainboard/lenovo/x1_carbon_gen1/Kconfig1
-rw-r--r--src/mainboard/lenovo/x200/Kconfig1
-rw-r--r--src/mainboard/lenovo/x201/Kconfig1
-rw-r--r--src/mainboard/lenovo/x220/Kconfig1
-rw-r--r--src/mainboard/lenovo/x230/Kconfig1
-rw-r--r--src/mainboard/lenovo/x60/Kconfig1
22 files changed, 0 insertions, 22 deletions
diff --git a/src/mainboard/lenovo/g505s/Kconfig b/src/mainboard/lenovo/g505s/Kconfig
index 17de81b241..dbf8b68253 100644
--- a/src/mainboard/lenovo/g505s/Kconfig
+++ b/src/mainboard/lenovo/g505s/Kconfig
@@ -22,7 +22,6 @@ config MAINBOARD_DIR
default "lenovo/g505s"
config MAINBOARD_PART_NUMBER
- string
default "LENOVO G505S"
config HW_MEM_HOLE_SIZEK
diff --git a/src/mainboard/lenovo/l520/Kconfig b/src/mainboard/lenovo/l520/Kconfig
index 1900f05a50..d212dadf3c 100644
--- a/src/mainboard/lenovo/l520/Kconfig
+++ b/src/mainboard/lenovo/l520/Kconfig
@@ -22,7 +22,6 @@ config MAINBOARD_DIR
default "lenovo/l520"
config MAINBOARD_PART_NUMBER
- string
default "ThinkPad L520"
config VGA_BIOS_FILE
diff --git a/src/mainboard/lenovo/s230u/Kconfig b/src/mainboard/lenovo/s230u/Kconfig
index 83e3e13567..c779504323 100644
--- a/src/mainboard/lenovo/s230u/Kconfig
+++ b/src/mainboard/lenovo/s230u/Kconfig
@@ -24,7 +24,6 @@ config MAINBOARD_DIR
default "lenovo/s230u"
config MAINBOARD_PART_NUMBER
- string
default "ThinkPad S230U (Twist)"
config EC_BASE_ADDRESS
diff --git a/src/mainboard/lenovo/t400/Kconfig b/src/mainboard/lenovo/t400/Kconfig
index ae3eb2a154..1ac1a35571 100644
--- a/src/mainboard/lenovo/t400/Kconfig
+++ b/src/mainboard/lenovo/t400/Kconfig
@@ -56,7 +56,6 @@ config VARIANT_DIR
default "r500" if BOARD_LENOVO_R500
config MAINBOARD_PART_NUMBER
- string
default "ThinkPad T400" if BOARD_LENOVO_T400
default "ThinkPad T500" if BOARD_LENOVO_T500
default "ThinkPad R400" if BOARD_LENOVO_R400
diff --git a/src/mainboard/lenovo/t410/Kconfig b/src/mainboard/lenovo/t410/Kconfig
index 97803273fd..a25ea627e7 100644
--- a/src/mainboard/lenovo/t410/Kconfig
+++ b/src/mainboard/lenovo/t410/Kconfig
@@ -50,7 +50,6 @@ config MAINBOARD_DIR
default "lenovo/t410"
config MAINBOARD_PART_NUMBER
- string
default "ThinkPad T410"
config USBDEBUG_HCD_INDEX
diff --git a/src/mainboard/lenovo/t420/Kconfig b/src/mainboard/lenovo/t420/Kconfig
index f0ae362426..b57a884eb1 100644
--- a/src/mainboard/lenovo/t420/Kconfig
+++ b/src/mainboard/lenovo/t420/Kconfig
@@ -51,7 +51,6 @@ config MAINBOARD_DIR
default "lenovo/t420"
config MAINBOARD_PART_NUMBER
- string
default "ThinkPad T420"
config USBDEBUG_HCD_INDEX
diff --git a/src/mainboard/lenovo/t420s/Kconfig b/src/mainboard/lenovo/t420s/Kconfig
index 5e9e051146..1557644d89 100644
--- a/src/mainboard/lenovo/t420s/Kconfig
+++ b/src/mainboard/lenovo/t420s/Kconfig
@@ -50,7 +50,6 @@ config MAINBOARD_DIR
default "lenovo/t420s"
config MAINBOARD_PART_NUMBER
- string
default "ThinkPad T420s"
config USBDEBUG_HCD_INDEX
diff --git a/src/mainboard/lenovo/t430/Kconfig b/src/mainboard/lenovo/t430/Kconfig
index d5a1582c7e..aaa7b347c2 100644
--- a/src/mainboard/lenovo/t430/Kconfig
+++ b/src/mainboard/lenovo/t430/Kconfig
@@ -49,7 +49,6 @@ config MAINBOARD_DIR
default "lenovo/t430"
config MAINBOARD_PART_NUMBER
- string
default "ThinkPad T430"
config VGA_BIOS_ID
diff --git a/src/mainboard/lenovo/t430s/Kconfig b/src/mainboard/lenovo/t430s/Kconfig
index dfbcfc4603..8bdbab7391 100644
--- a/src/mainboard/lenovo/t430s/Kconfig
+++ b/src/mainboard/lenovo/t430s/Kconfig
@@ -57,7 +57,6 @@ config VARIANT_DIR
default "t431s" if BOARD_LENOVO_T431S
config MAINBOARD_PART_NUMBER
- string
default "ThinkPad T430s" if BOARD_LENOVO_T430S
default "ThinkPad T431s" if BOARD_LENOVO_T431S
diff --git a/src/mainboard/lenovo/t440p/Kconfig b/src/mainboard/lenovo/t440p/Kconfig
index 7fb62ae732..9e2687ab48 100644
--- a/src/mainboard/lenovo/t440p/Kconfig
+++ b/src/mainboard/lenovo/t440p/Kconfig
@@ -46,7 +46,6 @@ config MAINBOARD_DIR
default "lenovo/t440p"
config MAINBOARD_PART_NUMBER
- string
default "ThinkPad T440p"
config VGA_BIOS_FILE
diff --git a/src/mainboard/lenovo/t520/Kconfig b/src/mainboard/lenovo/t520/Kconfig
index 325189e10b..91e9d27f18 100644
--- a/src/mainboard/lenovo/t520/Kconfig
+++ b/src/mainboard/lenovo/t520/Kconfig
@@ -59,7 +59,6 @@ config FMDFILE
default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/vboot-rwa.fmd" if VBOOT
config MAINBOARD_PART_NUMBER
- string
default "ThinkPad T520" if BOARD_LENOVO_T520
default "ThinkPad W520" if BOARD_LENOVO_W520
diff --git a/src/mainboard/lenovo/t530/Kconfig b/src/mainboard/lenovo/t530/Kconfig
index 2f50ef533a..7782b1ac32 100644
--- a/src/mainboard/lenovo/t530/Kconfig
+++ b/src/mainboard/lenovo/t530/Kconfig
@@ -60,7 +60,6 @@ config OVERRIDE_DEVICETREE
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
config MAINBOARD_PART_NUMBER
- string
default "ThinkPad T530" if BOARD_LENOVO_T530
default "ThinkPad W530" if BOARD_LENOVO_W530
diff --git a/src/mainboard/lenovo/t60/Kconfig b/src/mainboard/lenovo/t60/Kconfig
index af167b6216..9cb7ab8fd6 100644
--- a/src/mainboard/lenovo/t60/Kconfig
+++ b/src/mainboard/lenovo/t60/Kconfig
@@ -36,7 +36,6 @@ config OVERRIDE_DEVICETREE
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
config MAINBOARD_PART_NUMBER
- string
default "ThinkPad T60" if BOARD_LENOVO_T60
default "ThinkPad Z61t" if BOARD_LENOVO_Z61T
default "ThinkPad R60" if BOARD_LENOVO_R60
diff --git a/src/mainboard/lenovo/thinkcentre_a58/Kconfig b/src/mainboard/lenovo/thinkcentre_a58/Kconfig
index ad9a32b53d..353d323a79 100644
--- a/src/mainboard/lenovo/thinkcentre_a58/Kconfig
+++ b/src/mainboard/lenovo/thinkcentre_a58/Kconfig
@@ -21,7 +21,6 @@ config MAINBOARD_DIR
default "lenovo/thinkcentre_a58"
config MAINBOARD_PART_NUMBER
- string
default "ThinkCentre A58"
endif # BOARD_LENOVO_THINKCENTRE_A58
diff --git a/src/mainboard/lenovo/w541/Kconfig b/src/mainboard/lenovo/w541/Kconfig
index e6f53bab0d..b08ce0b31f 100644
--- a/src/mainboard/lenovo/w541/Kconfig
+++ b/src/mainboard/lenovo/w541/Kconfig
@@ -29,7 +29,6 @@ config MAINBOARD_DIR
default "lenovo/w541"
config MAINBOARD_PART_NUMBER
- string
default "ThinkPad W541"
config DRIVER_LENOVO_SERIALS
diff --git a/src/mainboard/lenovo/x131e/Kconfig b/src/mainboard/lenovo/x131e/Kconfig
index e7f262a938..3a876271f4 100644
--- a/src/mainboard/lenovo/x131e/Kconfig
+++ b/src/mainboard/lenovo/x131e/Kconfig
@@ -44,7 +44,6 @@ config MAINBOARD_DIR
default "lenovo/x131e"
config MAINBOARD_PART_NUMBER
- string
default "ThinkPad X131e"
config MAX_CPUS
diff --git a/src/mainboard/lenovo/x1_carbon_gen1/Kconfig b/src/mainboard/lenovo/x1_carbon_gen1/Kconfig
index 3a00c412b9..b04e90a02c 100644
--- a/src/mainboard/lenovo/x1_carbon_gen1/Kconfig
+++ b/src/mainboard/lenovo/x1_carbon_gen1/Kconfig
@@ -50,7 +50,6 @@ config MAINBOARD_DIR
default "lenovo/x1_carbon_gen1"
config MAINBOARD_PART_NUMBER
- string
default "ThinkPad X1 carbon gen 1"
config USBDEBUG_HCD_INDEX
diff --git a/src/mainboard/lenovo/x200/Kconfig b/src/mainboard/lenovo/x200/Kconfig
index 0f90a27e70..4573995f3e 100644
--- a/src/mainboard/lenovo/x200/Kconfig
+++ b/src/mainboard/lenovo/x200/Kconfig
@@ -51,7 +51,6 @@ config VARIANT_DIR
default "x301" if BOARD_LENOVO_X301
config MAINBOARD_PART_NUMBER
- string
default "ThinkPad X200" if BOARD_LENOVO_X200
default "ThinkPad X301" if BOARD_LENOVO_X301
diff --git a/src/mainboard/lenovo/x201/Kconfig b/src/mainboard/lenovo/x201/Kconfig
index 4fff82bb21..b98b541ecd 100644
--- a/src/mainboard/lenovo/x201/Kconfig
+++ b/src/mainboard/lenovo/x201/Kconfig
@@ -46,7 +46,6 @@ config MAINBOARD_DIR
default "lenovo/x201"
config MAINBOARD_PART_NUMBER
- string
default "ThinkPad X201"
config USBDEBUG_HCD_INDEX
diff --git a/src/mainboard/lenovo/x220/Kconfig b/src/mainboard/lenovo/x220/Kconfig
index f07aa4216b..763a5aff8c 100644
--- a/src/mainboard/lenovo/x220/Kconfig
+++ b/src/mainboard/lenovo/x220/Kconfig
@@ -54,7 +54,6 @@ config FMDFILE
default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/vboot-rwa.fmd" if VBOOT
config MAINBOARD_PART_NUMBER
- string
default "ThinkPad X220" if BOARD_LENOVO_X220
default "ThinkPad X220i" if BOARD_LENOVO_X220I
default "ThinkPad X1" if BOARD_LENOVO_X1
diff --git a/src/mainboard/lenovo/x230/Kconfig b/src/mainboard/lenovo/x230/Kconfig
index 9e2020e088..2df21f9e47 100644
--- a/src/mainboard/lenovo/x230/Kconfig
+++ b/src/mainboard/lenovo/x230/Kconfig
@@ -57,7 +57,6 @@ config VARIANT_DIR
default "x230s" if BOARD_LENOVO_X230S
config MAINBOARD_PART_NUMBER
- string
default "ThinkPad X230" if BOARD_LENOVO_X230
default "ThinkPad X230t" if BOARD_LENOVO_X230T
default "ThinkPad X230s" if BOARD_LENOVO_X230S
diff --git a/src/mainboard/lenovo/x60/Kconfig b/src/mainboard/lenovo/x60/Kconfig
index 6f7aebd564..c7a3e00fde 100644
--- a/src/mainboard/lenovo/x60/Kconfig
+++ b/src/mainboard/lenovo/x60/Kconfig
@@ -47,7 +47,6 @@ config MAINBOARD_DIR
default "lenovo/x60"
config MAINBOARD_PART_NUMBER
- string
default "ThinkPad X60"
config IRQ_SLOT_COUNT