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 |
| 21 | |
| 22 | config MAINBOARD_VENDOR |
| 23 | string |
| 24 | default "Purism" |
| 25 | |
Youness Alaoui | 047475c | 2017-05-08 16:50:23 -0400 | [diff] [blame] | 26 | config MAINBOARD_FAMILY |
| 27 | string |
Matt DeVillier | 4352994 | 2017-08-18 17:32:19 -0500 | [diff] [blame^] | 28 | default "Librem 13" if BOARD_PURISM_LIBREM13_V2 |
Youness Alaoui | 047475c | 2017-05-08 16:50:23 -0400 | [diff] [blame] | 29 | |
| 30 | config MAINBOARD_PART_NUMBER |
| 31 | string |
Matt DeVillier | 4352994 | 2017-08-18 17:32:19 -0500 | [diff] [blame^] | 32 | default "Librem 13 v2" if BOARD_PURISM_LIBREM13_V2 |
Youness Alaoui | 047475c | 2017-05-08 16:50:23 -0400 | [diff] [blame] | 33 | |
Youness Alaoui | f739e7f | 2017-05-25 14:36:06 -0500 | [diff] [blame] | 34 | config MAINBOARD_VERSION |
| 35 | string |
Matt DeVillier | 4352994 | 2017-08-18 17:32:19 -0500 | [diff] [blame^] | 36 | default "2.0" if BOARD_PURISM_LIBREM13_V2 |
Youness Alaoui | f739e7f | 2017-05-25 14:36:06 -0500 | [diff] [blame] | 37 | |
Youness Alaoui | 047475c | 2017-05-08 16:50:23 -0400 | [diff] [blame] | 38 | config MAINBOARD_DIR |
| 39 | string |
Matt DeVillier | 4352994 | 2017-08-18 17:32:19 -0500 | [diff] [blame^] | 40 | default "purism/librem_skl" |
| 41 | |
| 42 | config DEVICETREE |
| 43 | string |
| 44 | default "variants/librem13v2/devicetree.cb" if BOARD_PURISM_LIBREM13_V2 |
Youness Alaoui | 047475c | 2017-05-08 16:50:23 -0400 | [diff] [blame] | 45 | |
| 46 | config MAX_CPUS |
| 47 | int |
| 48 | default 8 |
| 49 | |
| 50 | config NO_POST |
| 51 | def_bool y |
| 52 | help |
| 53 | This platform does not have any way to see POST codes |
| 54 | so disable them by default. |
| 55 | |
| 56 | config VGA_BIOS_ID |
| 57 | string |
| 58 | default "8086,1916" |
| 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 | 6b8570d | 2017-05-12 19:43:42 -0400 | [diff] [blame] | 68 | config CPU_MICROCODE_CBFS_LEN |
| 69 | hex |
Youness Alaoui | c25c998 | 2017-07-25 14:11:31 -0400 | [diff] [blame] | 70 | default 0x18000 |
Youness Alaoui | 6b8570d | 2017-05-12 19:43:42 -0400 | [diff] [blame] | 71 | |
| 72 | config CPU_MICROCODE_CBFS_LOC |
| 73 | hex |
| 74 | default 0xFFE115A0 |
Youness Alaoui | 0e977fc | 2017-05-25 14:48:18 -0500 | [diff] [blame] | 75 | |
Youness Alaoui | f739e7f | 2017-05-25 14:36:06 -0500 | [diff] [blame] | 76 | config CBFS_SIZE |
| 77 | hex |
| 78 | default 0x5c0000 |
| 79 | |
Youness Alaoui | 047475c | 2017-05-08 16:50:23 -0400 | [diff] [blame] | 80 | endif |