1 # SPDX-License-Identifier: GPL-2.0-only
5 config BOARD_SPECIFIC_OPTIONS
7 select BOARD_ROMSIZE_KB_16384
9 select SOC_AMD_MENDOCINO
10 select SOC_AMD_COMMON_BLOCK_USE_ESPI if !SOC_AMD_COMMON_BLOCK_SIMNOW_BUILD
11 select AMD_SOC_CONSOLE_UART if !SOC_AMD_COMMON_BLOCK_SIMNOW_BUILD
12 select MAINBOARD_HAS_CHROMEOS
15 select PCIEXP_COMMON_CLOCK
16 select PCIEXP_L1_SUB_STATE
17 select SOC_AMD_COMMON_BLOCK_ESPI_RETAIN_PORT80_EN if !SOC_AMD_COMMON_BLOCK_SIMNOW_BUILD
18 select AMD_FWM_POSITION_C20000_DEFAULT if CHROMEOS
19 select AMD_FWM_POSITION_820000_DEFAULT if !CHROMEOS
20 select SOC_AMD_COMMON_BLOCK_SIMNOW_SUPPORTED
23 default "src/mainboard/amd/chausie/chromeos.fmd" if CHROMEOS
24 default "src/mainboard/amd/chausie/board.fmd"
29 config MAINBOARD_PART_NUMBER
32 config CHAUSIE_HAVE_MCHP_FW
33 bool "Have Microchip EC firmware?"
36 config CHAUSIE_MCHP_SIG_FILE
37 string "Microchip EC signature file"
38 depends on CHAUSIE_HAVE_MCHP_FW
39 default "3rdparty/blobs/mainboard/amd/chausie/EC_chausie_sig.bin"
41 The EC sig blob is the first 4kBytes of the firmware image.
42 The first 4 bytes form a pointer (with CRC) to where the EC firmware
45 config CHAUSIE_MCHP_FW_FILE
46 string "Microchip EC firmware file"
47 depends on CHAUSIE_HAVE_MCHP_FW
48 default "3rdparty/blobs/mainboard/amd/chausie/EC_chausie.bin"
50 The EC firmware blob is at the CHAUSIE_MCHP_FW_OFFSET offset of the
53 config CHAUSIE_MCHP_FW_OFFSET
55 depends on CHAUSIE_HAVE_MCHP_FW
58 The EC firmware blob defaults to the 4MByte offset of the firmware
59 image. If this offset needs to change, a new signature block must be
60 generated with the updated offset.
63 select VBOOT_NO_BOARD_SUPPORT
64 select VBOOT_SEPARATE_VERSTAGE
65 select VBOOT_STARTS_IN_BOOTBLOCK
67 config VBOOT_VBNV_OFFSET
73 depends on VBOOT_SLOTS_RW_AB || VBOOT_SLOTS_RW_A
74 # Add the EFS and EC to the RO region only
75 # This is a chausie-specific override of soc/amd/mendocino/Kconfig
76 default "apu/amdfw ec/ecfw"
79 # Use default libpayload config
80 select LP_DEFCONFIG_OVERRIDE if PAYLOAD_DEPTHCHARGE
81 # We don't have recovery buttons, so we can't manually enable devmode.
82 select GBB_FLAG_FORCE_DEV_SWITCH_ON
84 if !EM100 # EM100 defaults in soc/amd/common/blocks/spi/Kconfig
85 config EFS_SPI_READ_MODE
86 default 3 # Quad IO (1-1-4)
91 config EFS_SPI_MICRON_FLAG
94 config NORMAL_READ_SPI_SPEED
105 endif # BOARD_AMD_CHAUSIE