blob: 04b752804ca1dd1b074f0503a9286b4bf9ab5235 [file] [log] [blame]
Evgeny Zinoviev58eef232018-05-06 14:13:52 +03001config BOARD_LENOVO_BASEBOARD_T530
2 def_bool n
Vladimir Serbinenkoa9db82f2014-10-16 13:21:47 +02003 select SYSTEM_TYPE_LAPTOP
Nico Huber772a1542019-05-10 16:48:14 +02004 select NORTHBRIDGE_INTEL_SANDYBRIDGE
Vladimir Serbinenko144eea02016-02-10 02:36:04 +01005 select USE_NATIVE_RAMINIT
Edward O'Callaghan956c2982014-03-16 17:09:58 +11006 select SOUTHBRIDGE_INTEL_C216
7 select EC_LENOVO_PMH7
8 select EC_LENOVO_H8
Alexey Kharlamov93d6ba02018-01-09 00:50:06 +03009 select H8_HAS_BAT_TRESHOLDS_IMPL
Edward O'Callaghandfc1ca72014-12-30 15:34:43 +110010 select NO_UART_ON_SUPERIO
Edward O'Callaghan956c2982014-03-16 17:09:58 +110011 select BOARD_ROMSIZE_KB_12288
12 select HAVE_ACPI_TABLES
13 select HAVE_OPTION_TABLE
14 select HAVE_CMOS_DEFAULT
15 select HAVE_ACPI_RESUME
Vladimir Serbinenkoa2a906e2014-09-01 01:41:37 +020016 select INTEL_INT15
Philipp Deppenwiese3d02b9c2015-06-03 23:09:36 +020017 select MAINBOARD_HAS_LPC_TPM
Philipp Deppenwiesec07f8fb2018-02-27 19:40:52 +010018 select MAINBOARD_HAS_TPM1
Patrick Rudolph5919ba42015-12-26 08:35:08 +010019 select DRIVERS_LENOVO_HYBRID_GRAPHICS
Evgeny Zinoviev58eef232018-05-06 14:13:52 +030020 select MAINBOARD_HAS_LIBGFXINIT
21 select GFX_GMA_INTERNAL_IS_LVDS
Nico Huber29cc3312018-06-06 17:40:02 +020022 select INTEL_GMA_HAVE_VBT
Jan Tatje83a127a2019-01-09 20:39:28 +010023 select MAINBOARD_USES_IFD_GBE_REGION
Kyösti Mälkki9389fdf2019-08-26 22:23:32 +030024 select DRIVERS_RICOH_RCE822 if BOARD_LENOVO_W530
Evgeny Zinoviev58eef232018-05-06 14:13:52 +030025
Edward O'Callaghan956c2982014-03-16 17:09:58 +110026 # Workaround for EC/KBC IRQ1.
27 select SERIRQ_CONTINUOUS_MODE
28
Evgeny Zinoviev58eef232018-05-06 14:13:52 +030029if BOARD_LENOVO_BASEBOARD_T530
30
Evgeny Zinoviev58eef232018-05-06 14:13:52 +030031config VARIANT_DIR
32 string
33 default "t530" if BOARD_LENOVO_T530
34 default "w530" if BOARD_LENOVO_W530
35
Edward O'Callaghan956c2982014-03-16 17:09:58 +110036config MAINBOARD_DIR
37 string
Patrick Georgi0bb83462019-11-22 20:58:58 +010038 default "lenovo/t530"
Edward O'Callaghan956c2982014-03-16 17:09:58 +110039
Evgeny Zinoviev58eef232018-05-06 14:13:52 +030040config DEVICETREE
41 string
Peter Lemenkov395cbb42018-11-06 22:09:18 +010042 default "variants/$(CONFIG_VARIANT_DIR)/devicetree.cb"
Evgeny Zinoviev58eef232018-05-06 14:13:52 +030043
Edward O'Callaghan956c2982014-03-16 17:09:58 +110044config MAINBOARD_PART_NUMBER
45 string
Evgeny Zinoviev58eef232018-05-06 14:13:52 +030046 default "ThinkPad T530" if BOARD_LENOVO_T530
47 default "ThinkPad W530" if BOARD_LENOVO_W530
Edward O'Callaghan956c2982014-03-16 17:09:58 +110048
Edward O'Callaghan956c2982014-03-16 17:09:58 +110049config MAX_CPUS
50 int
51 default 8
52
53config USBDEBUG_HCD_INDEX
Edward O'Callaghan149ea152014-12-30 15:30:29 +110054 int
55 default 2
Edward O'Callaghan956c2982014-03-16 17:09:58 +110056
Nicolas Reinecke1065cc92014-08-24 22:14:29 +020057config DRAM_RESET_GATE_GPIO
Edward O'Callaghan956c2982014-03-16 17:09:58 +110058 int
59 default 10
60
61config VGA_BIOS_FILE
62 string
Prasun Gerab5b54902019-09-16 04:16:49 -040063 default "pci8086,0166.rom"
64
65config VGA_BIOS_ID
66 string
67 default "8086,0166"
Edward O'Callaghan956c2982014-03-16 17:09:58 +110068
Evgeny Zinoviev58eef232018-05-06 14:13:52 +030069endif