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 |
Youness Alaoui | 047475c | 2017-05-08 16:50:23 -0400 | [diff] [blame] | 8 | select SOC_INTEL_SKYLAKE |
Matt DeVillier | 2766ebf | 2017-05-16 19:15:20 -0500 | [diff] [blame] | 9 | # Workaround for EC/KBC IRQ1 |
| 10 | select SERIRQ_CONTINUOUS_MODE |
Matt DeVillier | fb1cd09 | 2017-06-22 15:54:07 -0400 | [diff] [blame] | 11 | select MAINBOARD_USES_FSP2_0 |
Youness Alaoui | 9c1bb6d | 2017-12-21 13:10:45 -0500 | [diff] [blame] | 12 | select SPD_READ_BY_WORD |
Youness Alaoui | 59d89a8 | 2018-02-09 18:42:49 -0500 | [diff] [blame] | 13 | select MAINBOARD_HAS_LPC_TPM |
Nico Huber | bd29442 | 2019-01-14 23:45:46 +0100 | [diff] [blame] | 14 | select NO_POST # This platform does not have any way to see POST codes |
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 |
| 24 | default "librem13v2" if BOARD_PURISM_LIBREM13_V2 |
Matt DeVillier | a547e40 | 2017-07-27 11:43:53 -0400 | [diff] [blame] | 25 | default "librem15v3" if BOARD_PURISM_LIBREM15_V3 |
Matt DeVillier | 83e915e | 2019-01-18 22:57:33 -0600 | [diff] [blame^] | 26 | default "librem13v2" if BOARD_PURISM_LIBREM13_V4 |
| 27 | default "librem15v3" if BOARD_PURISM_LIBREM15_V4 |
Matt DeVillier | 4352994 | 2017-08-18 17:32:19 -0500 | [diff] [blame] | 28 | |
| 29 | config MAINBOARD_VENDOR |
| 30 | string |
| 31 | default "Purism" |
| 32 | |
Youness Alaoui | 047475c | 2017-05-08 16:50:23 -0400 | [diff] [blame] | 33 | config MAINBOARD_FAMILY |
| 34 | string |
Matt DeVillier | 4352994 | 2017-08-18 17:32:19 -0500 | [diff] [blame] | 35 | default "Librem 13" if BOARD_PURISM_LIBREM13_V2 |
Matt DeVillier | a547e40 | 2017-07-27 11:43:53 -0400 | [diff] [blame] | 36 | default "Librem 15" if BOARD_PURISM_LIBREM15_V3 |
Matt DeVillier | 83e915e | 2019-01-18 22:57:33 -0600 | [diff] [blame^] | 37 | default "Librem 13" if BOARD_PURISM_LIBREM13_V4 |
| 38 | default "Librem 15" if BOARD_PURISM_LIBREM15_V4 |
Youness Alaoui | 047475c | 2017-05-08 16:50:23 -0400 | [diff] [blame] | 39 | |
| 40 | config MAINBOARD_PART_NUMBER |
| 41 | string |
Matt DeVillier | 4352994 | 2017-08-18 17:32:19 -0500 | [diff] [blame] | 42 | default "Librem 13 v2" if BOARD_PURISM_LIBREM13_V2 |
Matt DeVillier | a547e40 | 2017-07-27 11:43:53 -0400 | [diff] [blame] | 43 | default "Librem 15 v3" if BOARD_PURISM_LIBREM15_V3 |
Matt DeVillier | 83e915e | 2019-01-18 22:57:33 -0600 | [diff] [blame^] | 44 | default "Librem 13 v4" if BOARD_PURISM_LIBREM13_V4 |
| 45 | default "Librem 15 v4" if BOARD_PURISM_LIBREM15_V4 |
Youness Alaoui | 047475c | 2017-05-08 16:50:23 -0400 | [diff] [blame] | 46 | |
Youness Alaoui | f739e7f | 2017-05-25 14:36:06 -0500 | [diff] [blame] | 47 | config MAINBOARD_VERSION |
| 48 | string |
Matt DeVillier | 4352994 | 2017-08-18 17:32:19 -0500 | [diff] [blame] | 49 | default "2.0" if BOARD_PURISM_LIBREM13_V2 |
Matt DeVillier | a547e40 | 2017-07-27 11:43:53 -0400 | [diff] [blame] | 50 | default "3.0" if BOARD_PURISM_LIBREM15_V3 |
Matt DeVillier | 83e915e | 2019-01-18 22:57:33 -0600 | [diff] [blame^] | 51 | default "4.0" if BOARD_PURISM_LIBREM13_V4 |
| 52 | default "4.0" if BOARD_PURISM_LIBREM15_V4 |
Youness Alaoui | f739e7f | 2017-05-25 14:36:06 -0500 | [diff] [blame] | 53 | |
Youness Alaoui | 047475c | 2017-05-08 16:50:23 -0400 | [diff] [blame] | 54 | config MAINBOARD_DIR |
| 55 | string |
Matt DeVillier | 4352994 | 2017-08-18 17:32:19 -0500 | [diff] [blame] | 56 | default "purism/librem_skl" |
| 57 | |
| 58 | config DEVICETREE |
| 59 | string |
Peter Lemenkov | 395cbb4 | 2018-11-06 22:09:18 +0100 | [diff] [blame] | 60 | default "variants/$(CONFIG_VARIANT_DIR)/devicetree.cb" |
Youness Alaoui | 047475c | 2017-05-08 16:50:23 -0400 | [diff] [blame] | 61 | |
| 62 | config MAX_CPUS |
| 63 | int |
| 64 | default 8 |
| 65 | |
Youness Alaoui | 047475c | 2017-05-08 16:50:23 -0400 | [diff] [blame] | 66 | config VGA_BIOS_ID |
| 67 | string |
Matt DeVillier | 83e915e | 2019-01-18 22:57:33 -0600 | [diff] [blame^] | 68 | default "8086,1916" if BOARD_PURISM_LIBREM13_V2 |
| 69 | default "8086,1916" if BOARD_PURISM_LIBREM15_V3 |
| 70 | default "8086,5916" if BOARD_PURISM_LIBREM13_V4 |
| 71 | default "8086,5916" if BOARD_PURISM_LIBREM15_V4 |
Youness Alaoui | 047475c | 2017-05-08 16:50:23 -0400 | [diff] [blame] | 72 | |
Youness Alaoui | 0e977fc | 2017-05-25 14:48:18 -0500 | [diff] [blame] | 73 | config DIMM_MAX |
| 74 | int |
| 75 | default 1 |
| 76 | |
| 77 | config DIMM_SPD_SIZE |
| 78 | int |
| 79 | default 512 |
| 80 | |
Youness Alaoui | 6b8570d | 2017-05-12 19:43:42 -0400 | [diff] [blame] | 81 | config CPU_MICROCODE_CBFS_LEN |
| 82 | hex |
Youness Alaoui | c25c998 | 2017-07-25 14:11:31 -0400 | [diff] [blame] | 83 | default 0x18000 |
Youness Alaoui | 6b8570d | 2017-05-12 19:43:42 -0400 | [diff] [blame] | 84 | |
| 85 | config CPU_MICROCODE_CBFS_LOC |
| 86 | hex |
| 87 | default 0xFFE115A0 |
Youness Alaoui | 0e977fc | 2017-05-25 14:48:18 -0500 | [diff] [blame] | 88 | |
Youness Alaoui | f739e7f | 2017-05-25 14:36:06 -0500 | [diff] [blame] | 89 | config CBFS_SIZE |
| 90 | hex |
Matt DeVillier | f34d003 | 2019-01-15 21:12:33 -0600 | [diff] [blame] | 91 | default 0xe00000 |
Youness Alaoui | f739e7f | 2017-05-25 14:36:06 -0500 | [diff] [blame] | 92 | |
Youness Alaoui | 047475c | 2017-05-08 16:50:23 -0400 | [diff] [blame] | 93 | endif |