Nico Rikken | ecea3d4 | 2018-01-30 19:00:45 +0100 | [diff] [blame] | 1 | config BOARD_LENOVO_BASEBOARD_T520 |
| 2 | def_bool n |
Vladimir Serbinenko | a9db82f | 2014-10-16 13:21:47 +0200 | [diff] [blame] | 3 | select SYSTEM_TYPE_LAPTOP |
Alexandru Gagniuc | ecf2eb4 | 2015-09-28 21:39:12 -0700 | [diff] [blame] | 4 | select NORTHBRIDGE_INTEL_SANDYBRIDGE |
Vladimir Serbinenko | 144eea0 | 2016-02-10 02:36:04 +0100 | [diff] [blame] | 5 | select USE_NATIVE_RAMINIT |
Zaolin | a823f9b | 2014-05-06 21:31:45 +0200 | [diff] [blame] | 6 | select SOUTHBRIDGE_INTEL_BD82X6X |
| 7 | select EC_LENOVO_PMH7 |
| 8 | select EC_LENOVO_H8 |
Peter Lemenkov | b470361 | 2022-05-02 17:47:35 +0200 | [diff] [blame] | 9 | select H8_HAS_BAT_THRESHOLDS_IMPL |
Edward O'Callaghan | 37130eb | 2014-12-30 15:54:47 +1100 | [diff] [blame] | 10 | select NO_UART_ON_SUPERIO |
Zaolin | a823f9b | 2014-05-06 21:31:45 +0200 | [diff] [blame] | 11 | select BOARD_ROMSIZE_KB_8192 |
| 12 | select HAVE_ACPI_TABLES |
| 13 | select HAVE_OPTION_TABLE |
| 14 | select HAVE_CMOS_DEFAULT |
| 15 | select HAVE_ACPI_RESUME |
Vladimir Serbinenko | a2a906e | 2014-09-01 01:41:37 +0200 | [diff] [blame] | 16 | select INTEL_INT15 |
Nico Huber | 4ce5290 | 2020-02-15 17:56:01 +0100 | [diff] [blame] | 17 | select GFX_GMA_PANEL_1_ON_LVDS |
Evgeny Zinoviev | 5a0b252 | 2018-09-15 15:31:54 +0300 | [diff] [blame] | 18 | select MAINBOARD_HAS_LIBGFXINIT |
Jes B. Klinke | c6b041a1 | 2022-04-19 14:00:33 -0700 | [diff] [blame] | 19 | select MEMORY_MAPPED_TPM |
Philipp Deppenwiese | c07f8fb | 2018-02-27 19:40:52 +0100 | [diff] [blame] | 20 | select MAINBOARD_HAS_TPM1 |
Patrick Rudolph | 5919ba4 | 2015-12-26 08:35:08 +0100 | [diff] [blame] | 21 | select DRIVERS_LENOVO_HYBRID_GRAPHICS |
Nico Huber | 29cc331 | 2018-06-06 17:40:02 +0200 | [diff] [blame] | 22 | select INTEL_GMA_HAVE_VBT if BOARD_LENOVO_T520 |
Jan Tatje | 83a127a | 2019-01-09 20:39:28 +0100 | [diff] [blame] | 23 | select MAINBOARD_USES_IFD_GBE_REGION |
Zaolin | a823f9b | 2014-05-06 21:31:45 +0200 | [diff] [blame] | 24 | |
| 25 | # Workaround for EC/KBC IRQ1. |
| 26 | select SERIRQ_CONTINUOUS_MODE |
| 27 | |
Felix Singer | 11b299d | 2023-05-08 20:15:55 +0200 | [diff] [blame^] | 28 | config BOARD_LENOVO_T520 |
| 29 | select BOARD_LENOVO_BASEBOARD_T520 |
| 30 | |
| 31 | config BOARD_LENOVO_W520 |
| 32 | select BOARD_LENOVO_BASEBOARD_T520 |
| 33 | |
Nico Rikken | ecea3d4 | 2018-01-30 19:00:45 +0100 | [diff] [blame] | 34 | if BOARD_LENOVO_BASEBOARD_T520 |
| 35 | |
Patrick Rudolph | 62bc1cb | 2019-05-04 14:19:32 +0200 | [diff] [blame] | 36 | config VBOOT |
Yu-Ping Wu | e930360 | 2022-11-14 16:33:42 +0800 | [diff] [blame] | 37 | select VBOOT_VBNV_FLASH |
Patrick Rudolph | 62bc1cb | 2019-05-04 14:19:32 +0200 | [diff] [blame] | 38 | select GBB_FLAG_DISABLE_LID_SHUTDOWN |
| 39 | select GBB_FLAG_DISABLE_PD_SOFTWARE_SYNC |
| 40 | select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC |
| 41 | select GBB_FLAG_DISABLE_FWMP |
| 42 | select HAS_RECOVERY_MRC_CACHE |
| 43 | |
| 44 | config VBOOT_SLOTS_RW_A |
| 45 | default y |
| 46 | |
Nico Rikken | ecea3d4 | 2018-01-30 19:00:45 +0100 | [diff] [blame] | 47 | config VARIANT_DIR |
Nico Rikken | ecea3d4 | 2018-01-30 19:00:45 +0100 | [diff] [blame] | 48 | default "t520" if BOARD_LENOVO_T520 |
| 49 | default "w520" if BOARD_LENOVO_W520 |
| 50 | |
Zaolin | a823f9b | 2014-05-06 21:31:45 +0200 | [diff] [blame] | 51 | config MAINBOARD_DIR |
Patrick Georgi | 0bb8346 | 2019-11-22 20:58:58 +0100 | [diff] [blame] | 52 | default "lenovo/t520" |
Zaolin | a823f9b | 2014-05-06 21:31:45 +0200 | [diff] [blame] | 53 | |
Peter Lemenkov | 02b29b9 | 2019-11-27 15:33:21 +0100 | [diff] [blame] | 54 | config OVERRIDE_DEVICETREE |
Patrick Georgi | b8fba86 | 2020-06-17 21:06:53 +0200 | [diff] [blame] | 55 | default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" |
Nico Rikken | ecea3d4 | 2018-01-30 19:00:45 +0100 | [diff] [blame] | 56 | |
Patrick Rudolph | 62bc1cb | 2019-05-04 14:19:32 +0200 | [diff] [blame] | 57 | config FMDFILE |
Patrick Georgi | b8fba86 | 2020-06-17 21:06:53 +0200 | [diff] [blame] | 58 | default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/vboot-rwa.fmd" if VBOOT |
Patrick Rudolph | 62bc1cb | 2019-05-04 14:19:32 +0200 | [diff] [blame] | 59 | |
Zaolin | a823f9b | 2014-05-06 21:31:45 +0200 | [diff] [blame] | 60 | config MAINBOARD_PART_NUMBER |
Nico Rikken | ecea3d4 | 2018-01-30 19:00:45 +0100 | [diff] [blame] | 61 | default "ThinkPad T520" if BOARD_LENOVO_T520 |
| 62 | default "ThinkPad W520" if BOARD_LENOVO_W520 |
Nicolas Reinecke | 69e66d1 | 2014-08-24 22:12:37 +0200 | [diff] [blame] | 63 | |
Zaolin | a823f9b | 2014-05-06 21:31:45 +0200 | [diff] [blame] | 64 | config USBDEBUG_HCD_INDEX |
| 65 | int |
| 66 | default 2 |
| 67 | |
Nicolas Reinecke | 1065cc9 | 2014-08-24 22:14:29 +0200 | [diff] [blame] | 68 | config DRAM_RESET_GATE_GPIO |
Zaolin | a823f9b | 2014-05-06 21:31:45 +0200 | [diff] [blame] | 69 | int |
| 70 | default 10 |
| 71 | |
Nicolas Reinecke | 69e66d1 | 2014-08-24 22:12:37 +0200 | [diff] [blame] | 72 | config VGA_BIOS_ID |
| 73 | string |
| 74 | default "8086,0126" |
| 75 | |
dalao | 56a25a9 | 2019-10-27 17:08:34 +0800 | [diff] [blame] | 76 | config PS2K_EISAID |
| 77 | default "PNP0303" |
| 78 | |
| 79 | config PS2M_EISAID |
| 80 | default "LEN0015" |
| 81 | |
Da Lao | 56f5cc7 | 2020-04-05 00:23:09 +0800 | [diff] [blame] | 82 | config THINKPADEC_HKEY_EISAID |
| 83 | default "LEN0068" |
| 84 | |
Nico Rikken | ecea3d4 | 2018-01-30 19:00:45 +0100 | [diff] [blame] | 85 | endif |