[coreboot-gerrit] Change in coreboot[master]: mb/lenovo/Thinkpad{T500, R400, W500}: Unify under T400

Arthur Heymans (Code Review) gerrit at coreboot.org
Sun Sep 16 16:02:33 CEST 2018


Arthur Heymans has uploaded this change for review. ( https://review.coreboot.org/28626


Change subject: mb/lenovo/Thinkpad{T500, R400, W500}: Unify under T400
......................................................................

mb/lenovo/Thinkpad{T500, R400, W500}: Unify under T400

A negative side-effect is that those boards disappear from the board-status
output, but this is an issue on all variants.

Change-Id: Ic80804dc1f7d9c6f83ceee3db667019532c31d4c
Signed-off-by: Arthur Heymans <arthur at aheymans.xyz>
---
D src/mainboard/lenovo/r400/Kconfig
D src/mainboard/lenovo/r400/Kconfig.name
D src/mainboard/lenovo/r400/board_info.txt
M src/mainboard/lenovo/t400/Kconfig
M src/mainboard/lenovo/t400/Kconfig.name
D src/mainboard/lenovo/t500/Kconfig
D src/mainboard/lenovo/t500/Kconfig.name
D src/mainboard/lenovo/t500/board_info.txt
D src/mainboard/lenovo/w500/Kconfig
D src/mainboard/lenovo/w500/Kconfig.name
D src/mainboard/lenovo/w500/board_info.txt
11 files changed, 13 insertions(+), 50 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/26/28626/1

diff --git a/src/mainboard/lenovo/r400/Kconfig b/src/mainboard/lenovo/r400/Kconfig
deleted file mode 100644
index 0966bf1..0000000
--- a/src/mainboard/lenovo/r400/Kconfig
+++ /dev/null
@@ -1,7 +0,0 @@
-if BOARD_LENOVO_R400
-
-config MAINBOARD_PART_NUMBER
-	string
-	default "ThinkPad R400"
-
-endif
diff --git a/src/mainboard/lenovo/r400/Kconfig.name b/src/mainboard/lenovo/r400/Kconfig.name
deleted file mode 100644
index 15a99b1..0000000
--- a/src/mainboard/lenovo/r400/Kconfig.name
+++ /dev/null
@@ -1,2 +0,0 @@
-config BOARD_LENOVO_R400
-	bool "ThinkPad R400"
diff --git a/src/mainboard/lenovo/r400/board_info.txt b/src/mainboard/lenovo/r400/board_info.txt
deleted file mode 100644
index 007ec6c..0000000
--- a/src/mainboard/lenovo/r400/board_info.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-Category: laptop
-ROM package: SOIC-16 or SOIC-8
-ROM protocol: SPI
-ROM socketed: n
-Flashrom support: n
-Clone of: lenovo/t400
diff --git a/src/mainboard/lenovo/t400/Kconfig b/src/mainboard/lenovo/t400/Kconfig
index bea8737..ddd3c5c 100644
--- a/src/mainboard/lenovo/t400/Kconfig
+++ b/src/mainboard/lenovo/t400/Kconfig
@@ -28,13 +28,12 @@
 	string
 	default lenovo/t400
 
-if BOARD_LENOVO_T400
-
 config MAINBOARD_PART_NUMBER
 	string
-	default "ThinkPad T400"
-
-endif
+	default "ThinkPad T400" if BOARD_LENOVO_T400
+	default "ThinkPad T500" if BOARD_LENOVO_T500
+	default "ThinkPad R400" if BOARD_LENOVO_R400
+	default "ThinkPad W500" if BOARD_LENOVO_W500
 
 config USBDEBUG_HCD_INDEX
 	int
diff --git a/src/mainboard/lenovo/t400/Kconfig.name b/src/mainboard/lenovo/t400/Kconfig.name
index 56a575e..364de37 100644
--- a/src/mainboard/lenovo/t400/Kconfig.name
+++ b/src/mainboard/lenovo/t400/Kconfig.name
@@ -1,2 +1,11 @@
 config BOARD_LENOVO_T400
 	bool "ThinkPad T400"
+
+config BOARD_LENOVO_T500
+	bool "ThinkPad T500"
+
+config BOARD_LENOVO_W500
+	bool "ThinkPad R400"
+
+config BOARD_LENOVO_W500
+	bool "ThinkPad W500"
diff --git a/src/mainboard/lenovo/t500/Kconfig b/src/mainboard/lenovo/t500/Kconfig
deleted file mode 100644
index e1e8420..0000000
--- a/src/mainboard/lenovo/t500/Kconfig
+++ /dev/null
@@ -1,7 +0,0 @@
-if BOARD_LENOVO_T500
-
-config MAINBOARD_PART_NUMBER
-	string
-	default "ThinkPad T500"
-
-endif
diff --git a/src/mainboard/lenovo/t500/Kconfig.name b/src/mainboard/lenovo/t500/Kconfig.name
deleted file mode 100644
index 89c6087..0000000
--- a/src/mainboard/lenovo/t500/Kconfig.name
+++ /dev/null
@@ -1,2 +0,0 @@
-config BOARD_LENOVO_T500
-	bool "ThinkPad T500"
diff --git a/src/mainboard/lenovo/t500/board_info.txt b/src/mainboard/lenovo/t500/board_info.txt
deleted file mode 100644
index 007ec6c..0000000
--- a/src/mainboard/lenovo/t500/board_info.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-Category: laptop
-ROM package: SOIC-16 or SOIC-8
-ROM protocol: SPI
-ROM socketed: n
-Flashrom support: n
-Clone of: lenovo/t400
diff --git a/src/mainboard/lenovo/w500/Kconfig b/src/mainboard/lenovo/w500/Kconfig
deleted file mode 100644
index e9ee3ad..0000000
--- a/src/mainboard/lenovo/w500/Kconfig
+++ /dev/null
@@ -1,7 +0,0 @@
-if BOARD_LENOVO_W500
-
-config MAINBOARD_PART_NUMBER
-	string
-	default "ThinkPad W500"
-
-endif
diff --git a/src/mainboard/lenovo/w500/Kconfig.name b/src/mainboard/lenovo/w500/Kconfig.name
deleted file mode 100644
index 2097b77..0000000
--- a/src/mainboard/lenovo/w500/Kconfig.name
+++ /dev/null
@@ -1,2 +0,0 @@
-config BOARD_LENOVO_W500
-	bool "ThinkPad W500"
diff --git a/src/mainboard/lenovo/w500/board_info.txt b/src/mainboard/lenovo/w500/board_info.txt
deleted file mode 100644
index 007ec6c..0000000
--- a/src/mainboard/lenovo/w500/board_info.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-Category: laptop
-ROM package: SOIC-16 or SOIC-8
-ROM protocol: SPI
-ROM socketed: n
-Flashrom support: n
-Clone of: lenovo/t400

-- 
To view, visit https://review.coreboot.org/28626
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic80804dc1f7d9c6f83ceee3db667019532c31d4c
Gerrit-Change-Number: 28626
Gerrit-PatchSet: 1
Gerrit-Owner: Arthur Heymans <arthur at aheymans.xyz>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180916/e6b3e075/attachment.html>


More information about the coreboot-gerrit mailing list