Iru Cai | b559432 | 2019-06-30 21:16:50 +0800 | [diff] [blame] | 1 | if BOARD_LENOVO_THINKPAD_T440P |
| 2 | |
| 3 | config BOARD_SPECIFIC_OPTIONS |
| 4 | def_bool y |
| 5 | select BOARD_ROMSIZE_KB_12288 |
Iru Cai | b559432 | 2019-06-30 21:16:50 +0800 | [diff] [blame] | 6 | select EC_LENOVO_H8 |
Iru Cai | b559432 | 2019-06-30 21:16:50 +0800 | [diff] [blame] | 7 | select EC_LENOVO_PMH7 |
Peter Lemenkov | b470361 | 2022-05-02 17:47:35 +0200 | [diff] [blame] | 8 | select H8_HAS_BAT_THRESHOLDS_IMPL |
Felix Singer | 598ff42 | 2022-04-07 04:25:50 +0200 | [diff] [blame] | 9 | select H8_HAS_PRIMARY_FN_KEYS |
Iru Cai | b559432 | 2019-06-30 21:16:50 +0800 | [diff] [blame] | 10 | select HAVE_ACPI_RESUME |
| 11 | select HAVE_ACPI_TABLES |
Iru Cai | b559432 | 2019-06-30 21:16:50 +0800 | [diff] [blame] | 12 | select HAVE_CMOS_DEFAULT |
Felix Singer | 598ff42 | 2022-04-07 04:25:50 +0200 | [diff] [blame] | 13 | select HAVE_OPTION_TABLE |
Iru Cai | b559432 | 2019-06-30 21:16:50 +0800 | [diff] [blame] | 14 | select INTEL_GMA_HAVE_VBT |
| 15 | select INTEL_INT15 |
| 16 | select MAINBOARD_HAS_LIBGFXINIT |
Felix Singer | 598ff42 | 2022-04-07 04:25:50 +0200 | [diff] [blame] | 17 | select MAINBOARD_HAS_TPM1 |
| 18 | select MAINBOARD_USES_IFD_GBE_REGION |
Jes B. Klinke | c6b041a1 | 2022-04-19 14:00:33 -0700 | [diff] [blame] | 19 | select MEMORY_MAPPED_TPM |
Iru Cai | b559432 | 2019-06-30 21:16:50 +0800 | [diff] [blame] | 20 | select NORTHBRIDGE_INTEL_HASWELL |
Peter Lemenkov | 287500d | 2022-05-02 16:47:54 +0200 | [diff] [blame^] | 21 | select NO_UART_ON_SUPERIO |
Iru Cai | b559432 | 2019-06-30 21:16:50 +0800 | [diff] [blame] | 22 | select SERIRQ_CONTINUOUS_MODE |
| 23 | select SOUTHBRIDGE_INTEL_LYNXPOINT |
| 24 | select SYSTEM_TYPE_LAPTOP |
Iru Cai | b559432 | 2019-06-30 21:16:50 +0800 | [diff] [blame] | 25 | |
Jonas Moehle | 1f088c8 | 2019-12-25 03:40:51 +0100 | [diff] [blame] | 26 | config VBOOT |
Jonas Moehle | 1f088c8 | 2019-12-25 03:40:51 +0100 | [diff] [blame] | 27 | select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC |
| 28 | select GBB_FLAG_DISABLE_FWMP |
Felix Singer | 598ff42 | 2022-04-07 04:25:50 +0200 | [diff] [blame] | 29 | select GBB_FLAG_DISABLE_LID_SHUTDOWN |
| 30 | select GBB_FLAG_DISABLE_PD_SOFTWARE_SYNC |
Jonas Moehle | 1f088c8 | 2019-12-25 03:40:51 +0100 | [diff] [blame] | 31 | select HAS_RECOVERY_MRC_CACHE |
Felix Singer | 598ff42 | 2022-04-07 04:25:50 +0200 | [diff] [blame] | 32 | select VBOOT_VBNV_CMOS |
Jonas Moehle | 1f088c8 | 2019-12-25 03:40:51 +0100 | [diff] [blame] | 33 | |
| 34 | config VBOOT_SLOTS_RW_AB |
| 35 | default y |
| 36 | |
| 37 | config VBOOT_VBNV_OFFSET |
| 38 | hex |
| 39 | default 0x2a |
| 40 | |
| 41 | config FMDFILE |
Patrick Georgi | b8fba86 | 2020-06-17 21:06:53 +0200 | [diff] [blame] | 42 | default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/vboot-rwab.fmd" if VBOOT |
Jonas Moehle | 1f088c8 | 2019-12-25 03:40:51 +0100 | [diff] [blame] | 43 | |
Iru Cai | b559432 | 2019-06-30 21:16:50 +0800 | [diff] [blame] | 44 | config MAINBOARD_DIR |
Felix Singer | 1b3197e | 2022-05-22 03:20:46 +0200 | [diff] [blame] | 45 | default "lenovo/haswell" |
Iru Cai | b559432 | 2019-06-30 21:16:50 +0800 | [diff] [blame] | 46 | |
| 47 | config MAINBOARD_PART_NUMBER |
Iru Cai | b559432 | 2019-06-30 21:16:50 +0800 | [diff] [blame] | 48 | default "ThinkPad T440p" |
| 49 | |
Iru Cai | b559432 | 2019-06-30 21:16:50 +0800 | [diff] [blame] | 50 | config VGA_BIOS_ID |
| 51 | string |
| 52 | default "8086,0416" |
| 53 | |
Iru Cai | b559432 | 2019-06-30 21:16:50 +0800 | [diff] [blame] | 54 | config USBDEBUG_HCD_INDEX |
| 55 | int |
| 56 | default 2 |
| 57 | |
| 58 | config DRIVER_LENOVO_SERIALS |
| 59 | bool |
| 60 | default n |
| 61 | |
dalao | 56a25a9 | 2019-10-27 17:08:34 +0800 | [diff] [blame] | 62 | config PS2K_EISAID |
| 63 | default "LEN0071" |
| 64 | |
| 65 | config PS2M_EISAID |
| 66 | default "LEN0036" |
| 67 | |
Da Lao | 56f5cc7 | 2020-04-05 00:23:09 +0800 | [diff] [blame] | 68 | config THINKPADEC_HKEY_EISAID |
| 69 | default "LEN0068" |
| 70 | |
Iru Cai | b559432 | 2019-06-30 21:16:50 +0800 | [diff] [blame] | 71 | endif |