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 | ea24414 | 2019-07-23 16:47:05 -0500 | [diff] [blame] | 8 | select SOC_INTEL_COMMON_BLOCK_HDA_VERB |
Youness Alaoui | 047475c | 2017-05-08 16:50:23 -0400 | [diff] [blame] | 9 | select SOC_INTEL_SKYLAKE |
Matt DeVillier | fb1cd09 | 2017-06-22 15:54:07 -0400 | [diff] [blame] | 10 | select MAINBOARD_USES_FSP2_0 |
Youness Alaoui | 9c1bb6d | 2017-12-21 13:10:45 -0500 | [diff] [blame] | 11 | select SPD_READ_BY_WORD |
Youness Alaoui | 59d89a8 | 2018-02-09 18:42:49 -0500 | [diff] [blame] | 12 | select MAINBOARD_HAS_LPC_TPM |
Youness Alaoui | 047475c | 2017-05-08 16:50:23 -0400 | [diff] [blame] | 13 | |
Matt DeVillier | 4352994 | 2017-08-18 17:32:19 -0500 | [diff] [blame] | 14 | if BOARD_PURISM_BASEBOARD_LIBREM_SKL |
| 15 | |
Youness Alaoui | 047475c | 2017-05-08 16:50:23 -0400 | [diff] [blame] | 16 | config IRQ_SLOT_COUNT |
| 17 | int |
| 18 | default 18 |
| 19 | |
Matt DeVillier | 4352994 | 2017-08-18 17:32:19 -0500 | [diff] [blame] | 20 | config VARIANT_DIR |
| 21 | string |
Matt DeVillier | 6a4a026 | 2019-04-29 16:03:12 -0500 | [diff] [blame] | 22 | default "librem13v2" if BOARD_PURISM_LIBREM13_V2 || BOARD_PURISM_LIBREM13_V4 |
| 23 | default "librem15v3" if BOARD_PURISM_LIBREM15_V3 || BOARD_PURISM_LIBREM15_V4 |
Matt DeVillier | 4352994 | 2017-08-18 17:32:19 -0500 | [diff] [blame] | 24 | |
| 25 | config MAINBOARD_VENDOR |
| 26 | string |
| 27 | default "Purism" |
| 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 | |
| 45 | config DEVICETREE |
| 46 | string |
Peter Lemenkov | 395cbb4 | 2018-11-06 22:09:18 +0100 | [diff] [blame] | 47 | default "variants/$(CONFIG_VARIANT_DIR)/devicetree.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 | |
Youness Alaoui | 0e977fc | 2017-05-25 14:48:18 -0500 | [diff] [blame] | 58 | config DIMM_MAX |
| 59 | int |
| 60 | default 1 |
| 61 | |
| 62 | config DIMM_SPD_SIZE |
| 63 | int |
| 64 | default 512 |
| 65 | |
Youness Alaoui | f739e7f | 2017-05-25 14:36:06 -0500 | [diff] [blame] | 66 | config CBFS_SIZE |
| 67 | hex |
Matt DeVillier | f34d003 | 2019-01-15 21:12:33 -0600 | [diff] [blame] | 68 | default 0xe00000 |
Youness Alaoui | f739e7f | 2017-05-25 14:36:06 -0500 | [diff] [blame] | 69 | |
Nico Huber | 484ad0f | 2019-10-10 16:44:29 +0200 | [diff] [blame^] | 70 | # This platform has limited means to display POST codes |
| 71 | config NO_POST |
| 72 | default y |
| 73 | |
Youness Alaoui | 047475c | 2017-05-08 16:50:23 -0400 | [diff] [blame] | 74 | endif |