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
11 select AMD_SOC_CONSOLE_UART
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
20 default "src/mainboard/amd/chausie/chromeos.fmd" if CHROMEOS
21 default "src/mainboard/amd/chausie/board.fmd"
26 config MAINBOARD_PART_NUMBER
29 config AMD_FWM_POSITION_INDEX
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?"
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"
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
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"
54 The EC firmware blob is at the CHAUSIE_MCHP_FW_OFFSET offset of the
57 config CHAUSIE_MCHP_FW_OFFSET
59 depends on CHAUSIE_HAVE_MCHP_FW
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.
67 select VBOOT_NO_BOARD_SUPPORT
68 select VBOOT_SEPARATE_VERSTAGE
69 select VBOOT_STARTS_IN_BOOTBLOCK
71 config VBOOT_VBNV_OFFSET
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"
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)
95 config EFS_SPI_MICRON_FLAG
98 config NORMAL_READ_SPI_SPEED
109 endif # BOARD_AMD_CHAUSIE