diff options
author | Evgeny Zinoviev <me@ch1p.com> | 2018-05-06 14:13:52 +0300 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-06-06 10:37:06 +0000 |
commit | 58eef23dcf5441bd8312b0329f6d9164f6f9d4a1 (patch) | |
tree | 8a4356f47c6f8ad56133635de915bc3c0b565523 /src/mainboard/lenovo/t530/Kconfig | |
parent | 7904e720d5bd1a2fdbf5a4077759b1741895bcf4 (diff) |
mb/lenovo: Add ThinkPad W530 support
Tested and working:
- Wi-Fi
- Ethernet
- WWAN ? (interface is created in linux, didn't actually test it, should work)
- Bluetooth
- Speakers
- Internal mic
- SD card reader
- Suspend and resume
- Keyboard, touchpad, trackpoint
- Fan
- Webcam
- 4 RAM slots
- All USB ports
- mSATA
- VGA ROM (FIXME: black screen after resume from s3)
- Native graphics initialization (FIXME: probably incorrect panel frequency, etc. in GRUB; in linux everything's fine incl. resume from s3)
- libgfxinit
- GRUB payload
- SeaBIOS payload
- Internal flashing using flashrom
Not tested yet:
- Fingerprint reader
- Colorimeter
- Smart card reader
- Docking station
- VGA output
- Optical disc drive
- Discrete graphics
TODO:
- Test BDC detection
Change-Id: Ic7918ea18712221cc62c5564caede340f71ce400
Signed-off-by: Evgeny Zinoviev <me@ch1p.com>
Reviewed-on: https://review.coreboot.org/26136
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/mainboard/lenovo/t530/Kconfig')
-rw-r--r-- | src/mainboard/lenovo/t530/Kconfig | 29 |
1 files changed, 22 insertions, 7 deletions
diff --git a/src/mainboard/lenovo/t530/Kconfig b/src/mainboard/lenovo/t530/Kconfig index de867c2e55..93ec83b51c 100644 --- a/src/mainboard/lenovo/t530/Kconfig +++ b/src/mainboard/lenovo/t530/Kconfig @@ -1,7 +1,5 @@ -if BOARD_LENOVO_T530 - -config BOARD_SPECIFIC_OPTIONS # dummy - def_bool y +config BOARD_LENOVO_BASEBOARD_T530 + def_bool n select SYSTEM_TYPE_LAPTOP select CPU_INTEL_SOCKET_RPGA989 select NORTHBRIDGE_INTEL_IVYBRIDGE @@ -21,9 +19,14 @@ config BOARD_SPECIFIC_OPTIONS # dummy select MAINBOARD_HAS_LPC_TPM select MAINBOARD_HAS_TPM1 select DRIVERS_LENOVO_HYBRID_GRAPHICS + select MAINBOARD_HAS_LIBGFXINIT + select GFX_GMA_INTERNAL_IS_LVDS + # Workaround for EC/KBC IRQ1. select SERIRQ_CONTINUOUS_MODE +if BOARD_LENOVO_BASEBOARD_T530 + config HAVE_IFD_BIN bool default n @@ -32,13 +35,24 @@ config HAVE_ME_BIN bool default n +config VARIANT_DIR + string + default "t530" if BOARD_LENOVO_T530 + default "w530" if BOARD_LENOVO_W530 + config MAINBOARD_DIR string default lenovo/t530 +config DEVICETREE + string + default "variants/t530/devicetree.cb" if BOARD_LENOVO_T530 + default "variants/w530/devicetree.cb" if BOARD_LENOVO_W530 + config MAINBOARD_PART_NUMBER string - default "ThinkPad T530" + default "ThinkPad T530" if BOARD_LENOVO_T530 + default "ThinkPad W530" if BOARD_LENOVO_W530 config MAX_CPUS int @@ -54,7 +68,8 @@ config DRAM_RESET_GATE_GPIO config VGA_BIOS_FILE string - default "pci8086,0106.rom" + default "pci8086,0106.rom" if BOARD_LENOVO_T530 + default "pci8086,0166.rom" if BOARD_LENOVO_W530 config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID hex @@ -68,4 +83,4 @@ config ONBOARD_VGA_IS_PRIMARY bool default y -endif # BOARD_LENOVO_T530 +endif |