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