# SPDX-License-Identifier: GPL-2.0-only if BOARD_AMD_BILBY config BOARD_SPECIFIC_OPTIONS def_bool y select SOC_AMD_PICASSO select BOARD_ROMSIZE_KB_16384 select AZALIA_HDA_CODEC_SUPPORT select HAVE_ACPI_RESUME select DRIVERS_UART_ACPI select AMD_SOC_CONSOLE_UART if !AMD_LPC_DEBUG_CARD config FMDFILE default "src/mainboard/amd/bilby/board.fmd" config AMD_LPC_DEBUG_CARD bool "Enable LPC-Serial debug card on the debug header" default n select BILBY_LPC select SUPERIO_SMSC_SIO1036 help AMD's debug card contains an SMSC SIO1036 device which provides an I/O-mapped UART in the system. This is mutually exclusive with AMD_SOC_CONSOLE_UART which selects the SoC's integrated memory-mapped UART for coreboot console output. choice prompt "SMSC/Microchip 1036 SuperIO config address" depends on SUPERIO_SMSC_SIO1036 default BILBY_SMSC_SIO1036_BASE_164E config BILBY_SMSC_SIO1036_BASE_4E bool "0x4e/0x4d base address" config BILBY_SMSC_SIO1036_BASE_164E bool "0x164e/0x164d base address" endchoice config SUPERIO_ADDR_BASE hex default 0x4e if BILBY_SMSC_SIO1036_BASE_4E default 0x164e if BILBY_SMSC_SIO1036_BASE_164E config CBFS_SIZE default 0xfef000 # Maximum size for the Bilby FMAP config MAINBOARD_DIR default "amd/bilby" config MAINBOARD_PART_NUMBER default "BILBY" config ONBOARD_VGA_IS_PRIMARY bool default y if !AMD_LPC_DEBUG_CARD choice prompt "State of IOMux for LPC/eMMC signals" default BILBY_IOMUX_USE_EMMC help Bilby is designed to use either LPC or eMMC signals. Use this selection to determine which are configured for this image. config BILBY_IOMUX_USE_LPC bool "LPC signals" config BILBY_IOMUX_USE_EMMC bool "eMMC signals" endchoice endif # !AMD_LPC_DEBUG_CARD config BILBY_LPC bool default y if BILBY_IOMUX_USE_LPC help Picasso's LPC bus signals are MUXed with some of the EMMC signals. Select this option if LPC signals are required. 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 choice prompt "DDI-0 connector type" default CONNECT_DP_ON_DDI_0 config CONNECT_HDMI_ON_DDI_0 bool "Use HDMI interface" config CONNECT_DP_ON_DDI_0 bool "Use Displayport interface" endchoice config DDI0_CONNECTOR_TYPE int default 0 if CONNECT_DP_ON_DDI_0 default 4 if CONNECT_HDMI_ON_DDI_0 choice prompt "DDI-1 connector type" default CONNECT_DP_ON_DDI_1 config CONNECT_HDMI_ON_DDI_1 bool "Use HDMI interface" config CONNECT_DP_ON_DDI_1 bool "Use Displayport interface" endchoice config DDI1_CONNECTOR_TYPE int default 0 if CONNECT_DP_ON_DDI_1 default 4 if CONNECT_HDMI_ON_DDI_1 endif # BOARD_AMD_BILBY