1 # SPDX-License-Identifier: GPL-2.0-only
5 config BOARD_SPECIFIC_OPTIONS
7 select SOC_AMD_COMMON_BLOCK_USE_ESPI
9 select HAVE_ACPI_TABLES
10 select BOARD_ROMSIZE_KB_8192
11 select AZALIA_PLUGIN_SUPPORT
12 select HAVE_ACPI_RESUME
16 default "src/mainboard/amd/mandolin/mandolin.fmd"
18 config AMD_LPC_DEBUG_CARD
19 bool "Enable LPC-Serial debug card on the debug header"
21 select PICASSO_LPC_IOMUX
22 select SUPERIO_SMSC_SIO1036
24 AMD's debug card contains an SMSC SIO1036 device which provides
25 an I/O-based UART in the system. This feature is not compatible with
26 CONFIG_HUDSON_UART enabling the memory-mapped UART in the chipset.
27 Note that Kconfig does not currently enforce this restriction.
30 default 0x7cf000 # Maximum size for the Mandolin FMAP
34 default "amd/mandolin"
36 config MAINBOARD_PART_NUMBER
48 config ONBOARD_VGA_IS_PRIMARY
52 config AMD_FWM_POSITION_INDEX
56 TODO: might need to be adapted for better placement of files in cbfs
58 config MANDOLIN_HAVE_MCHP_FW
59 bool "Have Microchip EC firmware?"
62 config MANDOLIN_MCHP_FW_FILE
64 depends on MANDOLIN_HAVE_MCHP_FW
65 default "3rdparty/blobs/mainboard/amd/mandolin/mchp.bin"
67 if !AMD_LPC_DEBUG_CARD
68 choice MANDOLIN_LPC_IOMUX
69 prompt "State of IOMux for LPC/eMMC signals"
70 default MANDOLIN_IOMUX_USE_EMMC
72 Mandolin is designed to use either LPC or eMMC signals. Use this
73 selection to determine which are configured for this image.
75 config MANDOLIN_IOMUX_USE_LPC
79 config MANDOLIN_IOMUX_USE_EMMC
83 endif # !AMD_LPC_DEBUG_CARD
85 config PICASSO_LPC_IOMUX
87 default y if MANDOLIN_IOMUX_USE_LPC
89 Picasso's LPC bus signals are MUXed with some of the EMMC signals.
90 Select this option if LPC signals are required.
92 #TODO: remove this hack to not break graphics in combination with SeaBIOS
93 config VGA_BIOS_DGPU_ID
97 The default VGA BIOS PCI vendor/device ID should be set to the
98 result of the map_oprom_vendev() function in northbridge.c.
100 config VGA_BIOS_DGPU_FILE
102 default "3rdparty/amd_blobs/picasso/PicassoGenericVbios.bin"
104 endif # BOARD_AMD_MANDOLIN