Matt DeVillier | 4352994 | 2017-08-18 17:32:19 -0500 | [diff] [blame] | 1 | config BOARD_PURISM_BASEBOARD_LIBREM_SKL |
| 2 | def_bool n |
Youness Alaoui | 047475c | 2017-05-08 16:50:23 -0400 | [diff] [blame] | 3 | select BOARD_ROMSIZE_KB_16384 |
Matt DeVillier | 4a36cfb | 2020-05-04 16:11:42 -0500 | [diff] [blame^] | 4 | select DRIVERS_GENERIC_CBFS_SERIAL |
Youness Alaoui | 047475c | 2017-05-08 16:50:23 -0400 | [diff] [blame] | 5 | select HAVE_ACPI_RESUME |
| 6 | select HAVE_ACPI_TABLES |
Matt DeVillier | 45ecb0e | 2019-11-19 14:43:59 -0600 | [diff] [blame] | 7 | select INTEL_GMA_HAVE_VBT |
Matt DeVillier | 4223880 | 2018-12-19 02:13:58 -0600 | [diff] [blame] | 8 | select MAINBOARD_HAS_LIBGFXINIT |
Youness Alaoui | 59d89a8 | 2018-02-09 18:42:49 -0500 | [diff] [blame] | 9 | select MAINBOARD_HAS_LPC_TPM |
Matt DeVillier | 8c28729 | 2020-05-04 14:46:25 -0500 | [diff] [blame] | 10 | select MAINBOARD_HAS_TPM1 |
Matt DeVillier | df134c1 | 2020-04-29 17:33:36 -0500 | [diff] [blame] | 11 | select NO_UART_ON_SUPERIO |
Matt DeVillier | b651032 | 2020-04-30 14:52:18 -0500 | [diff] [blame] | 12 | select SOC_INTEL_COMMON_BLOCK_HDA_VERB |
| 13 | select SOC_INTEL_KABYLAKE if BOARD_PURISM_LIBREM13_V4 || BOARD_PURISM_LIBREM15_V4 |
| 14 | select SOC_INTEL_SKYLAKE if BOARD_PURISM_LIBREM13_V2 || BOARD_PURISM_LIBREM15_V3 |
| 15 | select SPD_READ_BY_WORD |
| 16 | select SYSTEM_TYPE_LAPTOP |
Youness Alaoui | 047475c | 2017-05-08 16:50:23 -0400 | [diff] [blame] | 17 | |
Matt DeVillier | 4352994 | 2017-08-18 17:32:19 -0500 | [diff] [blame] | 18 | if BOARD_PURISM_BASEBOARD_LIBREM_SKL |
| 19 | |
Youness Alaoui | 047475c | 2017-05-08 16:50:23 -0400 | [diff] [blame] | 20 | config IRQ_SLOT_COUNT |
| 21 | int |
| 22 | default 18 |
| 23 | |
Matt DeVillier | 4352994 | 2017-08-18 17:32:19 -0500 | [diff] [blame] | 24 | config VARIANT_DIR |
| 25 | string |
Matt DeVillier | 2b2f67f | 2020-04-30 14:47:26 -0500 | [diff] [blame] | 26 | default "librem13" if BOARD_PURISM_LIBREM13_V2 || BOARD_PURISM_LIBREM13_V4 |
| 27 | default "librem15" if BOARD_PURISM_LIBREM15_V3 || BOARD_PURISM_LIBREM15_V4 |
Matt DeVillier | 4352994 | 2017-08-18 17:32:19 -0500 | [diff] [blame] | 28 | |
Youness Alaoui | 047475c | 2017-05-08 16:50:23 -0400 | [diff] [blame] | 29 | config MAINBOARD_FAMILY |
| 30 | string |
Matt DeVillier | 6a4a026 | 2019-04-29 16:03:12 -0500 | [diff] [blame] | 31 | default "Librem 13" if BOARD_PURISM_LIBREM13_V2 || BOARD_PURISM_LIBREM13_V4 |
| 32 | default "Librem 15" if BOARD_PURISM_LIBREM15_V3 || BOARD_PURISM_LIBREM15_V4 |
Youness Alaoui | 047475c | 2017-05-08 16:50:23 -0400 | [diff] [blame] | 33 | |
| 34 | config MAINBOARD_PART_NUMBER |
| 35 | string |
Matt DeVillier | 4352994 | 2017-08-18 17:32:19 -0500 | [diff] [blame] | 36 | default "Librem 13 v2" if BOARD_PURISM_LIBREM13_V2 |
Matt DeVillier | a547e40 | 2017-07-27 11:43:53 -0400 | [diff] [blame] | 37 | default "Librem 15 v3" if BOARD_PURISM_LIBREM15_V3 |
Matt DeVillier | 83e915e | 2019-01-18 22:57:33 -0600 | [diff] [blame] | 38 | default "Librem 13 v4" if BOARD_PURISM_LIBREM13_V4 |
| 39 | default "Librem 15 v4" if BOARD_PURISM_LIBREM15_V4 |
Youness Alaoui | 047475c | 2017-05-08 16:50:23 -0400 | [diff] [blame] | 40 | |
| 41 | config MAINBOARD_DIR |
| 42 | string |
Matt DeVillier | 4352994 | 2017-08-18 17:32:19 -0500 | [diff] [blame] | 43 | default "purism/librem_skl" |
| 44 | |
Matt DeVillier | 57e37c5 | 2020-05-01 12:53:31 -0500 | [diff] [blame] | 45 | config OVERRIDE_DEVICETREE |
Matt DeVillier | 4352994 | 2017-08-18 17:32:19 -0500 | [diff] [blame] | 46 | string |
Matt DeVillier | 57e37c5 | 2020-05-01 12:53:31 -0500 | [diff] [blame] | 47 | default "variants/$(CONFIG_VARIANT_DIR)/overridetree.cb" |
Youness Alaoui | 047475c | 2017-05-08 16:50:23 -0400 | [diff] [blame] | 48 | |
| 49 | config MAX_CPUS |
| 50 | int |
| 51 | default 8 |
| 52 | |
Youness Alaoui | 047475c | 2017-05-08 16:50:23 -0400 | [diff] [blame] | 53 | config VGA_BIOS_ID |
| 54 | string |
Matt DeVillier | 6a4a026 | 2019-04-29 16:03:12 -0500 | [diff] [blame] | 55 | default "8086,1916" if BOARD_PURISM_LIBREM13_V2 || BOARD_PURISM_LIBREM15_V3 |
| 56 | default "8086,5916" if BOARD_PURISM_LIBREM13_V4 || BOARD_PURISM_LIBREM15_V4 |
Youness Alaoui | 047475c | 2017-05-08 16:50:23 -0400 | [diff] [blame] | 57 | |
Matt DeVillier | 45ecb0e | 2019-11-19 14:43:59 -0600 | [diff] [blame] | 58 | # Override the default variant behavior, since same VBT |
| 59 | # is used for all variants. |
| 60 | config INTEL_GMA_VBT_FILE |
| 61 | default "src/mainboard/$(MAINBOARDDIR)/data.vbt" |
| 62 | |
Youness Alaoui | 0e977fc | 2017-05-25 14:48:18 -0500 | [diff] [blame] | 63 | config DIMM_MAX |
| 64 | int |
| 65 | default 1 |
| 66 | |
| 67 | config DIMM_SPD_SIZE |
| 68 | int |
| 69 | default 512 |
| 70 | |
Youness Alaoui | f739e7f | 2017-05-25 14:36:06 -0500 | [diff] [blame] | 71 | config CBFS_SIZE |
| 72 | hex |
Matt DeVillier | f34d003 | 2019-01-15 21:12:33 -0600 | [diff] [blame] | 73 | default 0xe00000 |
Youness Alaoui | f739e7f | 2017-05-25 14:36:06 -0500 | [diff] [blame] | 74 | |
Nico Huber | 484ad0f | 2019-10-10 16:44:29 +0200 | [diff] [blame] | 75 | # This platform has limited means to display POST codes |
| 76 | config NO_POST |
| 77 | default y |
| 78 | |
Youness Alaoui | 047475c | 2017-05-08 16:50:23 -0400 | [diff] [blame] | 79 | endif |