[coreboot-gerrit] New patch to review for coreboot: mainboard/lenovo: Add support for the Lenovo ThinkPad X220i
Christopher Spinrath (christopher.spinrath@rwth-aachen.de)
gerrit at coreboot.org
Wed Feb 3 21:23:45 CET 2016
Christopher Spinrath (christopher.spinrath at rwth-aachen.de) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/13594
-gerrit
commit 828f7c54ddd32410345edadbdee29254e1225c18
Author: Christopher Spinrath <christopher.spinrath at rwth-aachen.de>
Date: Wed Jan 27 21:58:50 2016 +0100
mainboard/lenovo: Add support for the Lenovo ThinkPad X220i
The ThinkPad X220i is essentially identical to the ThinkPad X220 but it
has a Sandybridge i3 (instead of a Sandybridge i5/i7) CPU and the
VGA_BIOS_ID differs. Thus, support is added by using the X220 mainboard
directory and setting the VGA_BIOS_ID in Kconfig.
Change-Id: I33345a099c617e8c87a1de64b7254b7e7716ca90
Signed-off-by: Christopher Spinrath <christopher.spinrath at rwth-aachen.de>
---
src/mainboard/lenovo/x220/Kconfig | 14 ++++++++++++--
src/mainboard/lenovo/x220/Kconfig.name | 3 +++
2 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/src/mainboard/lenovo/x220/Kconfig b/src/mainboard/lenovo/x220/Kconfig
index c13b644..f418bd0 100644
--- a/src/mainboard/lenovo/x220/Kconfig
+++ b/src/mainboard/lenovo/x220/Kconfig
@@ -1,4 +1,4 @@
-if BOARD_LENOVO_X220
+if BOARD_LENOVO_X220 || BOARD_LENOVO_X220I
config BOARD_SPECIFIC_OPTIONS # dummy
def_bool y
@@ -58,6 +58,16 @@ config DRAM_RESET_GATE_GPIO
int
default 10
+if BOARD_LENOVO_X220I
+ config VGA_BIOS_FILE
+ string
+ default "pci8086,0116.rom"
+
+ config VGA_BIOS_ID
+ string
+ default "8086,0116"
+endif
+
config VGA_BIOS_FILE
string
default "pci8086,0126.rom"
@@ -74,4 +84,4 @@ config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
hex
default 0x21db
-endif # BOARD_LENOVO_X220
+endif # BOARD_LENOVO_X220 || BOARD_LENOVO_X220I
diff --git a/src/mainboard/lenovo/x220/Kconfig.name b/src/mainboard/lenovo/x220/Kconfig.name
index 0eb3c32..0f9d3fc 100644
--- a/src/mainboard/lenovo/x220/Kconfig.name
+++ b/src/mainboard/lenovo/x220/Kconfig.name
@@ -1,2 +1,5 @@
config BOARD_LENOVO_X220
bool "ThinkPad X220"
+
+config BOARD_LENOVO_X220I
+ bool "ThinkPad X220i"
More information about the coreboot-gerrit
mailing list