summaryrefslogtreecommitdiff
path: root/src/mainboard/amd/majolica/Kconfig
blob: cba0a0fb7e3a0010af51f87f17519fadbb6de836 (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
# SPDX-License-Identifier: GPL-2.0-only

if BOARD_AMD_MAJOLICA

config BOARD_SPECIFIC_OPTIONS
	def_bool y
	select BOARD_ROMSIZE_KB_16384
	select HAVE_ACPI_RESUME
	select SOC_AMD_CEZANNE
	select SOC_AMD_COMMON_BLOCK_USE_ESPI
	select AMD_SOC_CONSOLE_UART
	select MAINBOARD_HAS_CHROMEOS

config FMDFILE
	default "src/mainboard/amd/majolica/chromeos.fmd" if CHROMEOS
	default "src/mainboard/amd/majolica/board.fmd"

config MAINBOARD_DIR
	default "amd/majolica"

config MAINBOARD_PART_NUMBER
	default "MAJOLICA"

config AMD_FWM_POSITION_INDEX
	int
	default 3 if CHROMEOS
	default 4
	help
	  TODO: might need to be adapted for better placement of files in cbfs

config MAJOLICA_HAVE_MCHP_FW
	bool "Have Microchip EC firmware?"
	default n

config MAJOLICA_MCHP_FW_FILE
	string
	depends on MAJOLICA_HAVE_MCHP_FW
	default "3rdparty/blobs/mainboard/amd/majolica/EC_majolica.bin"
	help
	  The EC firmware blob is usually the first 128kByte of the stock
	  firmware image.

config VBOOT
	select VBOOT_NO_BOARD_SUPPORT
	select VBOOT_SEPARATE_VERSTAGE
	select VBOOT_STARTS_IN_BOOTBLOCK

config VBOOT_VBNV_OFFSET
	hex
	default 0x2A

config CHROMEOS
	# Use default libpayload config
	select LP_DEFCONFIG_OVERRIDE if PAYLOAD_DEPTHCHARGE

if !EM100	# EM100 defaults in soc/amd/common/blocks/spi/Kconfig
config EFS_SPI_READ_MODE
	default 3	# Quad IO (1-1-4)

config EFS_SPI_SPEED
	default 0	# 66MHz

config EFS_SPI_MICRON_FLAG
	default 0

config NORMAL_READ_SPI_SPEED
	default 1	# 33MHz

config ALT_SPI_SPEED
	default 1	# 33MHz

config TPM_SPI_SPEED
	default 1	# 33MHz

endif # !EM100

endif # BOARD_AMD_MAJOLICA