summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2015-02-03 23:26:05 +0100
committerNico Huber <nico.h@gmx.de>2015-11-19 12:46:40 +0100
commit9d0330f537d5c6b778531a7ca209b53d060ac2ef (patch)
tree6641a87ffb46dd6566a49d8b930e38841db38e59
parent362dbea2c9674bb50ddf2da306f477e7ae091134 (diff)
lenovo/r400: Add clone of Lenovo T400
The existing code for the Lenovo T400 works without changes on the Lenovo R400. Same HDA verbs are provided by Lenovo BIOS on both laptops. Change-Id: I1dadddd7250ab80a4c40c2435865d72e3e5d99c9 Signed-off-by: Michał Masłowski <mtjm@mtjm.eu> Signed-off-by: Francis Rowe <info@gluglug.org.uk> Reviewed-on: http://review.coreboot.org/8393 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber <nico.h@gmx.de>
-rw-r--r--src/mainboard/lenovo/r400/Kconfig7
-rw-r--r--src/mainboard/lenovo/r400/Kconfig.name2
-rw-r--r--src/mainboard/lenovo/r400/board_info.txt6
-rw-r--r--src/mainboard/lenovo/t400/Kconfig6
4 files changed, 20 insertions, 1 deletions
diff --git a/src/mainboard/lenovo/r400/Kconfig b/src/mainboard/lenovo/r400/Kconfig
new file mode 100644
index 0000000000..0966bf129e
--- /dev/null
+++ b/src/mainboard/lenovo/r400/Kconfig
@@ -0,0 +1,7 @@
+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
new file mode 100644
index 0000000000..15a99b1991
--- /dev/null
+++ b/src/mainboard/lenovo/r400/Kconfig.name
@@ -0,0 +1,2 @@
+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
new file mode 100644
index 0000000000..007ec6cea1
--- /dev/null
+++ b/src/mainboard/lenovo/r400/board_info.txt
@@ -0,0 +1,6 @@
+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 e410f20038..467cd630b4 100644
--- a/src/mainboard/lenovo/t400/Kconfig
+++ b/src/mainboard/lenovo/t400/Kconfig
@@ -1,4 +1,4 @@
-if BOARD_LENOVO_T400
+if BOARD_LENOVO_T400 || BOARD_LENOVO_R400
config BOARD_SPECIFIC_OPTIONS # dummy
def_bool y
@@ -27,10 +27,14 @@ config MAINBOARD_DIR
string
default lenovo/t400
+if BOARD_LENOVO_T400
+
config MAINBOARD_PART_NUMBER
string
default "ThinkPad T400"
+endif
+
config MMCONF_BASE_ADDRESS
hex
default 0xf0000000