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 #TODO: remove this hack to not break graphics in combination with SeaBIOS
84 config VGA_BIOS_DGPU_ID
88 The default VGA BIOS PCI vendor/device ID should be set to the
89 result of the map_oprom_vendev() function in northbridge.c.
91 config VGA_BIOS_DGPU_FILE
93 default "3rdparty/amd_blobs/picasso/PicassoGenericVbios.bin"
95 if !EM100 # EM100 defaults in soc/amd/common/blocks/spi/Kconfig
96 config EFS_SPI_READ_MODE
97 default 3 # Quad IO (1-1-4)
102 config EFS_SPI_MICRON_FLAG
105 config NORMAL_READ_SPI_SPEED
117 prompt "DDI-0 connector type"
118 default CONNECT_DP_ON_DDI_0
120 config CONNECT_HDMI_ON_DDI_0
121 bool "Use HDMI interface"
123 config CONNECT_DP_ON_DDI_0
124 bool "Use Displayport interface"
127 config DDI0_CONNECTOR_TYPE
129 default 0 if CONNECT_DP_ON_DDI_0
130 default 4 if CONNECT_HDMI_ON_DDI_0
133 prompt "DDI-1 connector type"
134 default CONNECT_DP_ON_DDI_1
136 config CONNECT_HDMI_ON_DDI_1
137 bool "Use HDMI interface"
139 config CONNECT_DP_ON_DDI_1
140 bool "Use Displayport interface"
143 config DDI1_CONNECTOR_TYPE
145 default 0 if CONNECT_DP_ON_DDI_1
146 default 4 if CONNECT_HDMI_ON_DDI_1
148 endif # BOARD_AMD_BILBY