summaryrefslogtreecommitdiff
path: root/src/mainboard/purism/librem_skl/Kconfig
blob: ca1582a50c414be54bf9e238e82d9f3ec3740658 (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
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 INTEL_GMA_HAVE_VBT
	select SOC_INTEL_COMMON_BLOCK_HDA_VERB
	select SOC_INTEL_SKYLAKE
	select SPD_READ_BY_WORD
	select MAINBOARD_HAS_LIBGFXINIT
	select MAINBOARD_HAS_LPC_TPM

if BOARD_PURISM_BASEBOARD_LIBREM_SKL

config IRQ_SLOT_COUNT
	int
	default 18

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

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

config MAINBOARD_PART_NUMBER
	string
	default "Librem 13 v2" if BOARD_PURISM_LIBREM13_V2
	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_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 || BOARD_PURISM_LIBREM15_V3
	default "8086,5916" if BOARD_PURISM_LIBREM13_V4 || BOARD_PURISM_LIBREM15_V4

# Override the default variant behavior, since same VBT
# is used for all variants.
config INTEL_GMA_VBT_FILE
	default "src/mainboard/$(MAINBOARDDIR)/data.vbt"

config DIMM_MAX
	int
	default 1

config DIMM_SPD_SIZE
	int
	default 512

config CBFS_SIZE
	hex
	default 0xe00000

# This platform has limited means to display POST codes
config NO_POST
	default y

endif