summaryrefslogtreecommitdiff
path: root/src/mainboard/purism/librem_skl/Kconfig
blob: c86ebf18e944f6bb50560ca02ba8c698da7fe26b (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
config BOARD_PURISM_BASEBOARD_LIBREM_SKL
	def_bool n
	select BOARD_ROMSIZE_KB_16384
	select DRIVERS_GENERIC_CBFS_SERIAL
	select GFX_GMA_IGNORE_PRESENCE_STRAPS
	select HAVE_ACPI_RESUME
	select HAVE_ACPI_TABLES
	select INTEL_GMA_HAVE_VBT
	select MAINBOARD_HAS_LIBGFXINIT
	select MAINBOARD_HAS_LPC_TPM
	select MAINBOARD_HAS_TPM1
	select NO_UART_ON_SUPERIO
	select SOC_INTEL_COMMON_BLOCK_HDA_VERB
	select SOC_INTEL_KABYLAKE if BOARD_PURISM_LIBREM13_V4 || BOARD_PURISM_LIBREM15_V4
	select SOC_INTEL_SKYLAKE if BOARD_PURISM_LIBREM13_V2 || BOARD_PURISM_LIBREM15_V3
	select SPD_READ_BY_WORD
	select SYSTEM_TYPE_LAPTOP

if BOARD_PURISM_BASEBOARD_LIBREM_SKL

config IRQ_SLOT_COUNT
	int
	default 18

config VARIANT_DIR
	string
	default "librem13" if BOARD_PURISM_LIBREM13_V2 || BOARD_PURISM_LIBREM13_V4
	default "librem15" 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 OVERRIDE_DEVICETREE
	string
	default "variants/$(CONFIG_VARIANT_DIR)/overridetree.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