[coreboot-gerrit] New patch to review for coreboot: 79fdebb lenovo/r400: new mainboard (x200 clone)
MichaÅ MasÅowski (mtjm@mtjm.eu)
gerrit at coreboot.org
Sat Feb 7 23:22:46 CET 2015
Michał Masłowski (mtjm at mtjm.eu) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/8393
-gerrit
commit 79fdebb8fad355278cf5f308f88b81f0224a431a
Author: Michał Masłowski <mtjm at mtjm.eu>
Date: Tue Feb 3 23:26:05 2015 +0100
lenovo/r400: new mainboard (x200 clone)
Existing X200 port works without changes on R400. Vendor BIOS
provides different hda_verb (since the connectors are on front, not
right), but this doesn't provide enough benefit to justify having
different source files.
Change-Id: I1dadddd7250ab80a4c40c2435865d72e3e5d99c9
Signed-off-by: Michał Masłowski <mtjm at mtjm.eu>
---
src/mainboard/lenovo/Kconfig | 6 ++++++
src/mainboard/lenovo/r400/Kconfig | 7 +++++++
src/mainboard/lenovo/r400/board_info.txt | 6 ++++++
src/mainboard/lenovo/x200/Kconfig | 7 ++++++-
4 files changed, 25 insertions(+), 1 deletion(-)
diff --git a/src/mainboard/lenovo/Kconfig b/src/mainboard/lenovo/Kconfig
index 30b1d36..4da60e3 100644
--- a/src/mainboard/lenovo/Kconfig
+++ b/src/mainboard/lenovo/Kconfig
@@ -60,6 +60,11 @@ config BOARD_LENOVO_G505S
help
Lenovo G505s
+config BOARD_LENOVO_R400
+ bool "ThinkPad R400"
+ help
+ Lenovo R400 laptop. Consult wiki for details.
+
endchoice
source "src/mainboard/lenovo/x60/Kconfig"
@@ -72,6 +77,7 @@ source "src/mainboard/lenovo/t520/Kconfig"
source "src/mainboard/lenovo/t530/Kconfig"
source "src/mainboard/lenovo/t60/Kconfig"
source "src/mainboard/lenovo/g505s/Kconfig"
+source "src/mainboard/lenovo/r400/Kconfig"
config MAINBOARD_VENDOR
string
diff --git a/src/mainboard/lenovo/r400/Kconfig b/src/mainboard/lenovo/r400/Kconfig
new file mode 100644
index 0000000..0966bf1
--- /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/board_info.txt b/src/mainboard/lenovo/r400/board_info.txt
new file mode 100644
index 0000000..8791abf
--- /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/x200
diff --git a/src/mainboard/lenovo/x200/Kconfig b/src/mainboard/lenovo/x200/Kconfig
index fcddea0..9b6cb86 100644
--- a/src/mainboard/lenovo/x200/Kconfig
+++ b/src/mainboard/lenovo/x200/Kconfig
@@ -1,4 +1,4 @@
-if BOARD_LENOVO_X200
+if BOARD_LENOVO_X200 || BOARD_LENOVO_R400
config BOARD_SPECIFIC_OPTIONS # dummy
def_bool y
@@ -26,9 +26,14 @@ config MAINBOARD_DIR
string
default lenovo/x200
+if BOARD_LENOVO_X200
+
config MAINBOARD_PART_NUMBER
string
default "ThinkPad X200"
+
+endif
+
config MMCONF_BASE_ADDRESS
hex
default 0xf0000000
More information about the coreboot-gerrit
mailing list