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 |
| 7 | select SOC_INTEL_SKYLAKE |
Matt DeVillier | 2766ebf | 2017-05-16 19:15:20 -0500 | [diff] [blame] | 8 | # Workaround for EC/KBC IRQ1 |
| 9 | select SERIRQ_CONTINUOUS_MODE |
Matt DeVillier | fb1cd09 | 2017-06-22 15:54:07 -0400 | [diff] [blame] | 10 | select MAINBOARD_USES_FSP2_0 |
Youness Alaoui | 047475c | 2017-05-08 16:50:23 -0400 | [diff] [blame] | 11 | |
Matt DeVillier | 4352994 | 2017-08-18 17:32:19 -0500 | [diff] [blame] | 12 | if BOARD_PURISM_BASEBOARD_LIBREM_SKL |
| 13 | |
Youness Alaoui | 047475c | 2017-05-08 16:50:23 -0400 | [diff] [blame] | 14 | config IRQ_SLOT_COUNT |
| 15 | int |
| 16 | default 18 |
| 17 | |
Matt DeVillier | 4352994 | 2017-08-18 17:32:19 -0500 | [diff] [blame] | 18 | config VARIANT_DIR |
| 19 | string |
| 20 | default "librem13v2" if BOARD_PURISM_LIBREM13_V2 |
Matt DeVillier | a547e40 | 2017-07-27 11:43:53 -0400 | [diff] [blame^] | 21 | default "librem15v3" if BOARD_PURISM_LIBREM15_V3 |
Matt DeVillier | 4352994 | 2017-08-18 17:32:19 -0500 | [diff] [blame] | 22 | |
| 23 | config MAINBOARD_VENDOR |
| 24 | string |
| 25 | default "Purism" |
| 26 | |
Youness Alaoui | 047475c | 2017-05-08 16:50:23 -0400 | [diff] [blame] | 27 | config MAINBOARD_FAMILY |
| 28 | string |
Matt DeVillier | 4352994 | 2017-08-18 17:32:19 -0500 | [diff] [blame] | 29 | default "Librem 13" if BOARD_PURISM_LIBREM13_V2 |
Matt DeVillier | a547e40 | 2017-07-27 11:43:53 -0400 | [diff] [blame^] | 30 | default "Librem 15" if BOARD_PURISM_LIBREM15_V3 |
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 |
Youness Alaoui | 047475c | 2017-05-08 16:50:23 -0400 | [diff] [blame] | 36 | |
Youness Alaoui | f739e7f | 2017-05-25 14:36:06 -0500 | [diff] [blame] | 37 | config MAINBOARD_VERSION |
| 38 | string |
Matt DeVillier | 4352994 | 2017-08-18 17:32:19 -0500 | [diff] [blame] | 39 | default "2.0" if BOARD_PURISM_LIBREM13_V2 |
Matt DeVillier | a547e40 | 2017-07-27 11:43:53 -0400 | [diff] [blame^] | 40 | default "3.0" if BOARD_PURISM_LIBREM15_V3 |
Youness Alaoui | f739e7f | 2017-05-25 14:36:06 -0500 | [diff] [blame] | 41 | |
Youness Alaoui | 047475c | 2017-05-08 16:50:23 -0400 | [diff] [blame] | 42 | config MAINBOARD_DIR |
| 43 | string |
Matt DeVillier | 4352994 | 2017-08-18 17:32:19 -0500 | [diff] [blame] | 44 | default "purism/librem_skl" |
| 45 | |
| 46 | config DEVICETREE |
| 47 | string |
| 48 | default "variants/librem13v2/devicetree.cb" if BOARD_PURISM_LIBREM13_V2 |
Matt DeVillier | a547e40 | 2017-07-27 11:43:53 -0400 | [diff] [blame^] | 49 | default "variants/librem15v3/devicetree.cb" if BOARD_PURISM_LIBREM15_V3 |
Youness Alaoui | 047475c | 2017-05-08 16:50:23 -0400 | [diff] [blame] | 50 | |
| 51 | config MAX_CPUS |
| 52 | int |
| 53 | default 8 |
| 54 | |
| 55 | config NO_POST |
| 56 | def_bool y |
| 57 | help |
| 58 | This platform does not have any way to see POST codes |
| 59 | so disable them by default. |
| 60 | |
| 61 | config VGA_BIOS_ID |
| 62 | string |
| 63 | default "8086,1916" |
| 64 | |
Youness Alaoui | 0e977fc | 2017-05-25 14:48:18 -0500 | [diff] [blame] | 65 | config DIMM_MAX |
| 66 | int |
| 67 | default 1 |
| 68 | |
| 69 | config DIMM_SPD_SIZE |
| 70 | int |
| 71 | default 512 |
| 72 | |
Youness Alaoui | 6b8570d | 2017-05-12 19:43:42 -0400 | [diff] [blame] | 73 | config CPU_MICROCODE_CBFS_LEN |
| 74 | hex |
Youness Alaoui | c25c998 | 2017-07-25 14:11:31 -0400 | [diff] [blame] | 75 | default 0x18000 |
Youness Alaoui | 6b8570d | 2017-05-12 19:43:42 -0400 | [diff] [blame] | 76 | |
| 77 | config CPU_MICROCODE_CBFS_LOC |
| 78 | hex |
| 79 | default 0xFFE115A0 |
Youness Alaoui | 0e977fc | 2017-05-25 14:48:18 -0500 | [diff] [blame] | 80 | |
Youness Alaoui | f739e7f | 2017-05-25 14:36:06 -0500 | [diff] [blame] | 81 | config CBFS_SIZE |
| 82 | hex |
| 83 | default 0x5c0000 |
| 84 | |
Youness Alaoui | 047475c | 2017-05-08 16:50:23 -0400 | [diff] [blame] | 85 | endif |