aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/t520/Kconfig
diff options
context:
space:
mode:
authorNico Rikken <nico@nicorikken.eu>2018-01-30 19:00:45 +0100
committerPatrick Georgi <pgeorgi@google.com>2018-04-06 07:08:27 +0000
commitecea3d450c12062a341415e5bea92f67019b036c (patch)
tree1405a01c4c3de8f1c85c9874087653ad542a7c1d /src/mainboard/lenovo/t520/Kconfig
parent3f7de0686d79836d1f62b3d6399e7bcde78d7a27 (diff)
mb/lenovo/w520: Add ThinkPad W520 support
Tested and working: * 4 RAM-slots * Speakers * PCIe Wifi * Camera * Fan * Touchpad, trackpoint and keyboard * Ethernet * Keyboard ACPI events * USB 3.0 * SD-card reader * Native graphics (LCD panel) * Harddisk in Ultrabay * SeaBIOS payloads ** Debian Live ** Debian testing 4.14.0-3-amd64 * GRUB ** Debian Live ** Debian testing 4.14.0-3-amd64 Not working: * Displayport and VGA output (requires VGA option ROM and ACPI switch call) Not tested: * Intel VGA option ROM * ACPI events related to ultrabay * Smart card reader * Docking station Change-Id: I1deb0436a807950c605dcd590deedcb3169bf8c5 Signed-off-by: Nico Rikken <nico@nicorikken.eu> Reviewed-on: https://review.coreboot.org/23564 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/mainboard/lenovo/t520/Kconfig')
-rw-r--r--src/mainboard/lenovo/t520/Kconfig23
1 files changed, 17 insertions, 6 deletions
diff --git a/src/mainboard/lenovo/t520/Kconfig b/src/mainboard/lenovo/t520/Kconfig
index 8c19c625e0..2adfa33fda 100644
--- a/src/mainboard/lenovo/t520/Kconfig
+++ b/src/mainboard/lenovo/t520/Kconfig
@@ -1,7 +1,5 @@
-if BOARD_LENOVO_T520
-
-config BOARD_SPECIFIC_OPTIONS # dummy
- def_bool y
+config BOARD_LENOVO_BASEBOARD_T520
+ def_bool n
select SYSTEM_TYPE_LAPTOP
select CPU_INTEL_SOCKET_RPGA988B
select NORTHBRIDGE_INTEL_SANDYBRIDGE
@@ -23,6 +21,8 @@ config BOARD_SPECIFIC_OPTIONS # dummy
# Workaround for EC/KBC IRQ1.
select SERIRQ_CONTINUOUS_MODE
+if BOARD_LENOVO_BASEBOARD_T520
+
config HAVE_IFD_BIN
bool
default n
@@ -31,13 +31,24 @@ config HAVE_ME_BIN
bool
default n
+config VARIANT_DIR
+ string
+ default "t520" if BOARD_LENOVO_T520
+ default "w520" if BOARD_LENOVO_W520
+
config MAINBOARD_DIR
string
default lenovo/t520
+config DEVICETREE
+ string
+ default "variants/t520/devicetree.cb" if BOARD_LENOVO_T520
+ default "variants/w520/devicetree.cb" if BOARD_LENOVO_W520
+
config MAINBOARD_PART_NUMBER
string
- default "ThinkPad T520"
+ default "ThinkPad T520" if BOARD_LENOVO_T520
+ default "ThinkPad W520" if BOARD_LENOVO_W520
config MAX_CPUS
int
@@ -71,4 +82,4 @@ config ONBOARD_VGA_IS_PRIMARY
bool
default y
-endif # BOARD_LENOVO_T520
+endif