-
-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathKconfig
More file actions
100 lines (79 loc) · 2.56 KB
/
Kconfig
File metadata and controls
100 lines (79 loc) · 2.56 KB
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
99
100
## SPDX-License-Identifier: GPL-2.0-only
if BOARD_HARDKERNEL_ODROID_H4
config BOARD_SPECIFIC_OPTIONS
def_bool y
select BOARD_ROMSIZE_KB_16384
select CRB_TPM
select DRIVERS_UART_8250IO
select FSP_TYPE_IOT
select HAVE_ACPI_RESUME
select HAVE_ACPI_TABLES
select HAVE_INTEL_PTT
select INTEL_GMA_HAVE_VBT
select SUPERIO_ITE_IT8613E
select SOC_INTEL_ALDERLAKE_PCH_N
select SOC_INTEL_COMMON_BLOCK_HDA_VERB
select USE_DDR5
config MAINBOARD_DIR
default "hardkernel/odroid-h4"
config MAINBOARD_PART_NUMBER
default "ODROID-H4"
config MAINBOARD_VENDOR
default "HARDKERNEL"
config MAINBOARD_FAMILY
default "H4"
config DIMM_SPD_SIZE
default 1024
config DIMM_MAX
default 2
config UART_FOR_CONSOLE
default 0
config USE_PM_ACPI_TIMER
default n
config CBFS_SIZE
default 0xa00000
config VBOOT
select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC
select GBB_FLAG_DISABLE_FWMP
select GBB_FLAG_DISABLE_LID_SHUTDOWN
select GBB_FLAG_DISABLE_PD_SOFTWARE_SYNC
select VBOOT_ALWAYS_ENABLE_DISPLAY
select VBOOT_NO_BOARD_SUPPORT
select HAS_RECOVERY_MRC_CACHE
select VBOOT_NO_TPM
select VBOOT_ENABLE_CBFS_FALLBACK
select VBOOT_CLEAR_RECOVERY_IN_RAMSTAGE
config VBOOT_SLOTS_RW_A
default y if VBOOT
config SOC_INTEL_CSE_SEND_EOP_EARLY
default n
config FMDFILE
default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/vboot-rwa.fmd" if VBOOT && VBOOT_SLOTS_RW_A
config ODROID_H4_ENABLE_SAGV
bool "Enable SAGV"
default y
help
SAGV (System Agent GeyserVille) is Intel's implementation of
DVFS (Dynamic Voltage Frequency Scaling) that reduces energy
consumption of the SA and DRAM during low-load conditions by
automatically switching to lower voltages / frequencies when
the system load is low enough. When enabled, memory training
has to run multiple times (once per SAGV point), which slows
down booting (but only when the MRC cache is unusable).
If unsure, keep enabled. If reflashing often, disabling this
option can be useful to reduce memory training time.
config ODROID_H4_NETCARD_SUPPORT
bool "Enable 4x1 netcard support in M.2 NVME slot"
default n
help
Enables 4x1 PCIe netcard support in the project. Enable this
option when the M.2 NVMe slot is bifurcated as 4x1 to support
the netcard. The option alone does not guarantee that the
bifurcation is enabled in the Intel Flash Descriptor. Use
proper flash desriptor when enabling this option.
By default the slot is bifurcated as 1x4 for NVMe.
config OVERRIDE_DEVICETREE
string
default "overridetree_netcard.cb" if ODROID_H4_NETCARD_SUPPORT
default "overridetree_nvme.cb"
endif #BOARD_HARDKERNEL_ODROID_H4