summaryrefslogtreecommitdiff
path: root/src/mainboard/purism/librem_skl/Kconfig
blob: b3413b73d5007a8933e2fcb55faa168feecd80fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
config BOARD_PURISM_BASEBOARD_LIBREM_SKL
	def_bool n
	select SYSTEM_TYPE_LAPTOP
	select BOARD_ROMSIZE_KB_16384
	select HAVE_ACPI_RESUME
	select HAVE_ACPI_TABLES
	select INTEL_LPSS_UART_FOR_CONSOLE
	select SOC_INTEL_SKYLAKE
	# Workaround for EC/KBC IRQ1
	select SERIRQ_CONTINUOUS_MODE
	select MAINBOARD_USES_FSP2_0
	select SPD_READ_BY_WORD
	select MAINBOARD_HAS_LPC_TPM
	select NO_POST # This platform does not have any way to see POST codes

if BOARD_PURISM_BASEBOARD_LIBREM_SKL

config IRQ_SLOT_COUNT
	int
	default 18

config VARIANT_DIR
	string
	default "librem13v2" if BOARD_PURISM_LIBREM13_V2
	default "librem13v2" if BOARD_PURISM_LIBREM13_V3
	default "librem15v3" if BOARD_PURISM_LIBREM15_V3
	default "librem13v2" if BOARD_PURISM_LIBREM13_V4
	default "librem15v3" if BOARD_PURISM_LIBREM15_V4

config MAINBOARD_VENDOR
	string
	default "Purism"

config MAINBOARD_FAMILY
	string
	default "Librem 13" if BOARD_PURISM_LIBREM13_V2
	default "Librem 13" if BOARD_PURISM_LIBREM13_V3
	default "Librem 15" if BOARD_PURISM_LIBREM15_V3
	default "Librem 13" if BOARD_PURISM_LIBREM13_V4
	default "Librem 15" if BOARD_PURISM_LIBREM15_V4

config MAINBOARD_PART_NUMBER
	string
	default "Librem 13 v2" if BOARD_PURISM_LIBREM13_V2
	default "Librem 13 v2" if BOARD_PURISM_LIBREM13_V3
	default "Librem 15 v3" if BOARD_PURISM_LIBREM15_V3
	default "Librem 13 v4" if BOARD_PURISM_LIBREM13_V4
	default "Librem 15 v4" if BOARD_PURISM_LIBREM15_V4

config MAINBOARD_VERSION
	string
	default "2.0" if BOARD_PURISM_LIBREM13_V2
	default "3.0" if BOARD_PURISM_LIBREM13_V3
	default "3.0" if BOARD_PURISM_LIBREM15_V3
	default "4.0" if BOARD_PURISM_LIBREM13_V4
	default "4.0" if BOARD_PURISM_LIBREM15_V4

config MAINBOARD_DIR
	string
	default "purism/librem_skl"

config DEVICETREE
	string
	default "variants/$(CONFIG_VARIANT_DIR)/devicetree.cb"

config MAX_CPUS
	int
	default 8

config VGA_BIOS_ID
	string
	default "8086,1916" if BOARD_PURISM_LIBREM13_V2
	default "8086,1916" if BOARD_PURISM_LIBREM13_V3
	default "8086,1916" if BOARD_PURISM_LIBREM15_V3
	default "8086,5916" if BOARD_PURISM_LIBREM13_V4
	default "8086,5916" if BOARD_PURISM_LIBREM15_V4

config DIMM_MAX
	int
	default 1

config DIMM_SPD_SIZE
	int
	default 512

config CPU_MICROCODE_CBFS_LEN
	hex
	default 0x18000

config CPU_MICROCODE_CBFS_LOC
	hex
	default 0xFFE115A0

config CBFS_SIZE
	hex
	default 0xe00000

endif