mb/google/brya/var/omnigul: Modify NVMe and UFS Storage support
[coreboot.git] / src / mainboard / amd / chausie / Kconfig
blobad4d5301c408633cb4c11b6e9e455913dc874733
1 # SPDX-License-Identifier: GPL-2.0-only
3 if BOARD_AMD_CHAUSIE
5 config BOARD_SPECIFIC_OPTIONS
6         def_bool y
7         select BOARD_ROMSIZE_KB_16384
8         select EC_ACPI
9         select SOC_AMD_MENDOCINO
10         select SOC_AMD_COMMON_BLOCK_USE_ESPI
11         select AMD_SOC_CONSOLE_UART
12         select MAINBOARD_HAS_CHROMEOS
13         select PCIEXP_ASPM
14         select PCIEXP_CLK_PM
15         select PCIEXP_COMMON_CLOCK
16         select PCIEXP_L1_SUB_STATE
17         select SOC_AMD_COMMON_BLOCK_ESPI_RETAIN_PORT80_EN
19 config FMDFILE
20         default "src/mainboard/amd/chausie/chromeos.fmd" if CHROMEOS
21         default "src/mainboard/amd/chausie/board.fmd"
23 config MAINBOARD_DIR
24         default "amd/chausie"
26 config MAINBOARD_PART_NUMBER
27         default "CHAUSIE"
29 config AMD_FWM_POSITION_INDEX
30         int
31         default 3 if CHROMEOS
32         default 4
33         help
34           TODO: might need to be adapted for better placement of files in cbfs
36 config CHAUSIE_HAVE_MCHP_FW
37         bool "Have Microchip EC firmware?"
38         default n
40 config CHAUSIE_MCHP_SIG_FILE
41         string "Microchip EC signature file"
42         depends on CHAUSIE_HAVE_MCHP_FW
43         default "3rdparty/blobs/mainboard/amd/chausie/EC_chausie_sig.bin"
44         help
45           The EC sig blob is the first 4kBytes of the firmware image.
46           The first 4 bytes form a pointer (with CRC) to where the EC firmware
47           is located
49 config CHAUSIE_MCHP_FW_FILE
50         string "Microchip EC firmware file"
51         depends on CHAUSIE_HAVE_MCHP_FW
52         default "3rdparty/blobs/mainboard/amd/chausie/EC_chausie.bin"
53         help
54           The EC firmware blob is at the CHAUSIE_MCHP_FW_OFFSET offset of the
55           firmware image.
57 config CHAUSIE_MCHP_FW_OFFSET
58         hex
59         depends on CHAUSIE_HAVE_MCHP_FW
60         default 0xB80000
61         help
62           The EC firmware blob defaults to the 4MByte offset of the firmware
63           image. If this offset needs to change, a new signature block must be
64           generated with the updated offset.
66 config VBOOT
67         select VBOOT_NO_BOARD_SUPPORT
68         select VBOOT_SEPARATE_VERSTAGE
69         select VBOOT_STARTS_IN_BOOTBLOCK
71 config VBOOT_VBNV_OFFSET
72         hex
73         default 0x2A
75 config RO_REGION_ONLY
76         string
77         depends on VBOOT_SLOTS_RW_AB || VBOOT_SLOTS_RW_A
78         # Add the EFS and EC to the RO region only
79         # This is a chausie-specific override of soc/amd/mendocino/Kconfig
80         default "apu/amdfw ec/ecfw"
82 config CHROMEOS
83         # Use default libpayload config
84         select LP_DEFCONFIG_OVERRIDE if PAYLOAD_DEPTHCHARGE
85         # We don't have recovery buttons, so we can't manually enable devmode.
86         select GBB_FLAG_FORCE_DEV_SWITCH_ON
88 if !EM100       # EM100 defaults in soc/amd/common/blocks/spi/Kconfig
89 config EFS_SPI_READ_MODE
90         default 3       # Quad IO (1-1-4)
92 config EFS_SPI_SPEED
93         default 0       # 66MHz
95 config EFS_SPI_MICRON_FLAG
96         default 0
98 config NORMAL_READ_SPI_SPEED
99         default 1       # 33MHz
101 config ALT_SPI_SPEED
102         default 1       # 33MHz
104 config TPM_SPI_SPEED
105         default 1       # 33MHz
107 endif # !EM100
109 endif # BOARD_AMD_CHAUSIE