1 # SPDX-License-Identifier: GPL-2.0-only
5 config BOARD_SPECIFIC_OPTIONS
8 select BOARD_ROMSIZE_KB_16384
9 select AZALIA_HDA_CODEC_SUPPORT
10 select HAVE_ACPI_RESUME
11 select DRIVERS_UART_ACPI
12 select AMD_SOC_CONSOLE_UART if !AMD_LPC_DEBUG_CARD
15 default "src/mainboard/amd/bilby/board.fmd"
17 config AMD_LPC_DEBUG_CARD
18 bool "Enable LPC-Serial debug card on the debug header"
21 select SUPERIO_SMSC_SIO1036
23 AMD's debug card contains an SMSC SIO1036 device which provides an
24 I/O-mapped UART in the system. This is mutually exclusive with
25 AMD_SOC_CONSOLE_UART which selects the SoC's integrated memory-mapped
26 UART for coreboot console output.
29 prompt "SMSC/Microchip 1036 SuperIO config address"
30 depends on SUPERIO_SMSC_SIO1036
31 default BILBY_SMSC_SIO1036_BASE_164E
33 config BILBY_SMSC_SIO1036_BASE_4E
34 bool "0x4e/0x4d base address"
36 config BILBY_SMSC_SIO1036_BASE_164E
37 bool "0x164e/0x164d base address"
41 config SUPERIO_ADDR_BASE
43 default 0x4e if BILBY_SMSC_SIO1036_BASE_4E
44 default 0x164e if BILBY_SMSC_SIO1036_BASE_164E
47 default 0xfef000 # Maximum size for the Bilby FMAP
52 config MAINBOARD_PART_NUMBER
55 config ONBOARD_VGA_IS_PRIMARY
59 if !AMD_LPC_DEBUG_CARD
61 prompt "State of IOMux for LPC/eMMC signals"
62 default BILBY_IOMUX_USE_EMMC
64 Bilby is designed to use either LPC or eMMC signals. Use this
65 selection to determine which are configured for this image.
67 config BILBY_IOMUX_USE_LPC
70 config BILBY_IOMUX_USE_EMMC
74 endif # !AMD_LPC_DEBUG_CARD
78 default y if BILBY_IOMUX_USE_LPC
80 Picasso's LPC bus signals are MUXed with some of the EMMC signals.
81 Select this option if LPC signals are required.
83 if !EM100 # EM100 defaults in soc/amd/common/blocks/spi/Kconfig
84 config EFS_SPI_READ_MODE
85 default 3 # Quad IO (1-1-4)
90 config EFS_SPI_MICRON_FLAG
93 config NORMAL_READ_SPI_SPEED
105 prompt "DDI-0 connector type"
106 default CONNECT_DP_ON_DDI_0
108 config CONNECT_HDMI_ON_DDI_0
109 bool "Use HDMI interface"
111 config CONNECT_DP_ON_DDI_0
112 bool "Use Displayport interface"
115 config DDI0_CONNECTOR_TYPE
117 default 0 if CONNECT_DP_ON_DDI_0
118 default 4 if CONNECT_HDMI_ON_DDI_0
121 prompt "DDI-1 connector type"
122 default CONNECT_DP_ON_DDI_1
124 config CONNECT_HDMI_ON_DDI_1
125 bool "Use HDMI interface"
127 config CONNECT_DP_ON_DDI_1
128 bool "Use Displayport interface"
131 config DDI1_CONNECTOR_TYPE
133 default 0 if CONNECT_DP_ON_DDI_1
134 default 4 if CONNECT_HDMI_ON_DDI_1
136 endif # BOARD_AMD_BILBY