mb/lenovo/{T500, R400, W500}: Unify variants 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@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/28626
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Arthur Heymans 2018-09-16 15:50:15 +02:00 committed by Martin Roth
parent 63da206146
commit c423d7d8f1
11 changed files with 15 additions and 51 deletions

View File

@ -1,7 +0,0 @@
if BOARD_LENOVO_R400
config MAINBOARD_PART_NUMBER
string
default "ThinkPad R400"
endif

View File

@ -1,2 +0,0 @@
config BOARD_LENOVO_R400
bool "ThinkPad R400"

View File

@ -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

View File

@ -1,4 +1,5 @@
if BOARD_LENOVO_T400 || BOARD_LENOVO_T500 || BOARD_LENOVO_R400 || BOARD_LENOVO_W500 if BOARD_LENOVO_T400 || BOARD_LENOVO_T500 || BOARD_LENOVO_R400 \
|| BOARD_LENOVO_W500
config BOARD_SPECIFIC_OPTIONS # dummy config BOARD_SPECIFIC_OPTIONS # dummy
def_bool y def_bool y
@ -28,13 +29,12 @@ config MAINBOARD_DIR
string string
default lenovo/t400 default lenovo/t400
if BOARD_LENOVO_T400
config MAINBOARD_PART_NUMBER config MAINBOARD_PART_NUMBER
string string
default "ThinkPad T400" default "ThinkPad T400" if BOARD_LENOVO_T400
default "ThinkPad T500" if BOARD_LENOVO_T500
endif default "ThinkPad R400" if BOARD_LENOVO_R400
default "ThinkPad W500" if BOARD_LENOVO_W500
config USBDEBUG_HCD_INDEX config USBDEBUG_HCD_INDEX
int int

View File

@ -1,2 +1,11 @@
config BOARD_LENOVO_T400 config BOARD_LENOVO_T400
bool "ThinkPad T400" bool "ThinkPad T400"
config BOARD_LENOVO_T500
bool "ThinkPad T500"
config BOARD_LENOVO_R400
bool "ThinkPad R400"
config BOARD_LENOVO_W500
bool "ThinkPad W500"

View File

@ -1,7 +0,0 @@
if BOARD_LENOVO_T500
config MAINBOARD_PART_NUMBER
string
default "ThinkPad T500"
endif

View File

@ -1,2 +0,0 @@
config BOARD_LENOVO_T500
bool "ThinkPad T500"

View File

@ -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

View File

@ -1,7 +0,0 @@
if BOARD_LENOVO_W500
config MAINBOARD_PART_NUMBER
string
default "ThinkPad W500"
endif

View File

@ -1,2 +0,0 @@
config BOARD_LENOVO_W500
bool "ThinkPad W500"

View File

@ -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