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