summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/x220
diff options
context:
space:
mode:
authorChristopher Spinrath <christopher.spinrath@rwth-aachen.de>2016-01-27 21:58:50 +0100
committerMartin Roth <martinroth@google.com>2016-02-09 19:47:17 +0100
commit2bb16a52180f06742231d756b6c29f3345c63586 (patch)
tree03b743ae201c195f7dddf2ebfc2b6676eee62fb9 /src/mainboard/lenovo/x220
parent03be2383e7120ac2f1ea90a425e51df67015a8af (diff)
downloadcoreboot-2bb16a52180f06742231d756b6c29f3345c63586.tar.xz
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@rwth-aachen.de> Reviewed-on: https://review.coreboot.org/13594 Tested-by: build bot (Jenkins) Reviewed-by: Alexander Couzens <lynxis@fe80.eu>
Diffstat (limited to 'src/mainboard/lenovo/x220')
-rw-r--r--src/mainboard/lenovo/x220/Kconfig6
-rw-r--r--src/mainboard/lenovo/x220/Kconfig.name3
2 files changed, 7 insertions, 2 deletions
diff --git a/src/mainboard/lenovo/x220/Kconfig b/src/mainboard/lenovo/x220/Kconfig
index c13b644ba3..02b9873630 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
@@ -60,10 +60,12 @@ config DRAM_RESET_GATE_GPIO
config VGA_BIOS_FILE
string
+ default "pci8086,0116.rom" if BOARD_LENOVO_X220I
default "pci8086,0126.rom"
config VGA_BIOS_ID
string
+ default "8086,0116" if BOARD_LENOVO_X220I
default "8086,0126"
config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
@@ -74,4 +76,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 0eb3c3201a..0f9d3fcfb7 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"