blob: 4b194319249a361472719c5d2238ef585412eb37 [file] [log] [blame]
Elyes HAOUAS87415102020-05-07 11:49:08 +02001# SPDX-License-Identifier: GPL-2.0-only
Kyösti Mälkkie8b4da22014-10-21 18:22:32 +03002
3config SOUTHBRIDGE_AMD_PI_AVALON
4 bool
Kyösti Mälkkie8b4da22014-10-21 18:22:32 +03005
WANG Siyuanf2dfef02015-05-20 14:41:01 +08006config SOUTHBRIDGE_AMD_PI_KERN
7 bool
WANG Siyuanf2dfef02015-05-20 14:41:01 +08008
Felix Held70d1c722021-04-09 22:22:09 +02009if SOUTHBRIDGE_AMD_PI_AVALON || SOUTHBRIDGE_AMD_PI_KERN
Kyösti Mälkkie8b4da22014-10-21 18:22:32 +030010
Elyes HAOUAS00b5f532021-02-01 09:45:08 +010011config SOUTHBRIDGE_SPECIFIC_OPTIONS
Nico Huberf4181052018-10-07 13:25:59 +020012 def_bool y
Kyösti Mälkki69a13962023-04-08 14:10:48 +030013 select ACPI_COMMON_MADT_LAPIC
Nico Huberf4181052018-10-07 13:25:59 +020014 select HAVE_USBDEBUG_OPTIONS
15 select HAVE_CF9_RESET
16 select HAVE_CF9_RESET_PREPARE
Michał Żygowskif3db2ae2019-11-24 13:26:10 +010017 select SOC_AMD_COMMON
Michał Żygowskif3db2ae2019-11-24 13:26:10 +010018 select SOC_AMD_COMMON_BLOCK_ACPIMMIO
Felix Held31364242021-07-23 19:18:02 +020019 select SOC_AMD_COMMON_BLOCK_ACPIMMIO_BIOSRAM
Kyösti Mälkkib8cb1422020-06-23 21:36:14 +030020 select SOC_AMD_COMMON_BLOCK_BANKED_GPIOS
Felix Held4b027692021-08-03 20:09:54 +020021 select SOC_AMD_COMMON_BLOCK_BANKED_GPIOS_NON_SOC_CODEBASE
Felix Held21cdf0d2020-11-23 16:24:29 +010022 select SOC_AMD_COMMON_BLOCK_PCI_MMCONF
Nico Huberf4181052018-10-07 13:25:59 +020023
Kyösti Mälkkie8b4da22014-10-21 18:22:32 +030024config EHCI_BAR
25 hex
26 default 0xfef00000
27
28config HUDSON_XHCI_ENABLE
29 bool "Enable Hudson XHCI Controller"
30 default y
31 help
32 The XHCI controller must be enabled and the XHCI firmware
33 must be added in order to have USB 3.0 support configured
34 by coreboot. The OS will be responsible for enabling the XHCI
Jonathan Neuschäfer45e6c822018-12-11 17:53:07 +010035 controller if the XHCI firmware is available but the
Kyösti Mälkkie8b4da22014-10-21 18:22:32 +030036 XHCI controller is not enabled by coreboot.
37
38config HUDSON_XHCI_FWM
39 bool "Add xhci firmware"
40 default y
41 help
42 Add Hudson 2/3/4 XHCI Firmware to support the onboard USB 3.0
43
Mike Banon7515cd02019-01-09 02:37:07 +030044config HUDSON_IMC_ENABLE
45 bool
46 default n
47
Kyösti Mälkkie8b4da22014-10-21 18:22:32 +030048config HUDSON_IMC_FWM
49 bool "Add IMC firmware"
Mike Banon7515cd02019-01-09 02:37:07 +030050 depends on HUDSON_IMC_ENABLE
Kyösti Mälkkie8b4da22014-10-21 18:22:32 +030051 default y
Dave Frodinfedd8e32015-01-21 07:26:26 -070052 help
Kyösti Mälkkie8b4da22014-10-21 18:22:32 +030053 Add Hudson 2/3/4 IMC Firmware to support the onboard fan control
54
55config HUDSON_GEC_FWM
56 bool
57 default n
Dave Frodinfedd8e32015-01-21 07:26:26 -070058 help
Kyösti Mälkkie8b4da22014-10-21 18:22:32 +030059 Add Hudson 2/3/4 GEC Firmware to support the onboard gigabit Ethernet MAC.
60 Must be connected to a Broadcom B50610 or B50610M PHY on the motherboard.
61
62config HUDSON_PSP
63 bool
Martin Rothc681a822020-11-16 17:19:17 -070064 default y if CPU_AMD_PI_00730F01
Kyösti Mälkkie8b4da22014-10-21 18:22:32 +030065
Zheng Baoc5e28ab2020-10-28 11:38:09 +080066config AMDFW_CONFIG_FILE
67 string "AMD PSP Firmware config file"
68 default "src/southbridge/amd/pi/hudson/fw_avl.cfg" if CPU_AMD_PI_00730F01
69
Kyösti Mälkkie8b4da22014-10-21 18:22:32 +030070config HUDSON_XHCI_FWM_FILE
Dave Frodinfedd8e32015-01-21 07:26:26 -070071 string "XHCI firmware path and filename"
Patrick Georgi26e24cc2015-05-05 22:27:25 +020072 default "3rdparty/blobs/southbridge/amd/avalon/xhci.bin" if SOUTHBRIDGE_AMD_PI_AVALON
WANG Siyuanf2dfef02015-05-20 14:41:01 +080073 default "3rdparty/blobs/southbridge/amd/kern/xhci.bin" if SOUTHBRIDGE_AMD_PI_KERN
Kyösti Mälkkie8b4da22014-10-21 18:22:32 +030074 depends on HUDSON_XHCI_FWM
75
76config HUDSON_IMC_FWM_FILE
Dave Frodinfedd8e32015-01-21 07:26:26 -070077 string "IMC firmware path and filename"
Patrick Georgi26e24cc2015-05-05 22:27:25 +020078 default "3rdparty/blobs/southbridge/amd/avalon/imc.bin" if SOUTHBRIDGE_AMD_PI_AVALON
WANG Siyuanf2dfef02015-05-20 14:41:01 +080079 default "3rdparty/blobs/southbridge/amd/kern/imc.bin" if SOUTHBRIDGE_AMD_PI_KERN
Kyösti Mälkkie8b4da22014-10-21 18:22:32 +030080 depends on HUDSON_IMC_FWM
81
82config HUDSON_GEC_FWM_FILE
Dave Frodinfedd8e32015-01-21 07:26:26 -070083 string "GEC firmware path and filename"
Kyösti Mälkkie8b4da22014-10-21 18:22:32 +030084 depends on HUDSON_GEC_FWM
85
Kyösti Mälkkie8b4da22014-10-21 18:22:32 +030086config AMD_PUBKEY_FILE
Dave Frodinfedd8e32015-01-21 07:26:26 -070087 depends on HUDSON_PSP
88 string "AMD public Key"
Patrick Georgi26e24cc2015-05-05 22:27:25 +020089 default "3rdparty/blobs/southbridge/amd/avalon/PSP/AmdPubKey.bin" if CPU_AMD_PI_00730F01
Kyösti Mälkkie8b4da22014-10-21 18:22:32 +030090
91config HUDSON_SATA_MODE
Dave Frodinfedd8e32015-01-21 07:26:26 -070092 int "SATA Mode"
Piotr Kleinschmidtcb030652019-10-08 16:16:44 +020093 default 2
Dave Frodinfedd8e32015-01-21 07:26:26 -070094 range 0 6
Kyösti Mälkkie8b4da22014-10-21 18:22:32 +030095 help
96 Select the mode in which SATA should be driven. NATIVE AHCI, or RAID.
97 The default is NATIVE.
98 0: NATIVE mode does not require a ROM.
99 1: RAID mode must have the two ROM files.
100 2: AHCI may work with or without AHCI ROM. It depends on the payload support.
101 For example, seabios does not require the AHCI ROM.
102 3: LEGACY IDE
103 4: IDE to AHCI
104 5: AHCI7804: ROM Required, and AMD driver required in the OS.
105 6: IDE to AHCI7804: ROM Required, and AMD driver required in the OS.
106
107comment "NATIVE"
108 depends on HUDSON_SATA_MODE = 0
109
110comment "RAID"
111 depends on HUDSON_SATA_MODE = 1
112
113comment "AHCI"
114 depends on HUDSON_SATA_MODE = 2
115
116comment "LEGACY IDE"
117 depends on HUDSON_SATA_MODE = 3
118
119comment "IDE to AHCI"
120 depends on HUDSON_SATA_MODE = 4
121
122comment "AHCI7804"
123 depends on HUDSON_SATA_MODE = 5
124
125comment "IDE to AHCI7804"
126 depends on HUDSON_SATA_MODE = 6
127
Kyösti Mälkkie8b4da22014-10-21 18:22:32 +0300128config HUDSON_LEGACY_FREE
129 bool "System is legacy free"
130 help
131 Select y if there is no keyboard controller in the system.
132 This sets variables in AGESA and ACPI.
133
Marshall Dawsonc6be0d82017-01-07 18:17:32 -0500134config AMDFW_OUTSIDE_CBFS
135 def_bool n
136 help
137 The AMDFW (PSP) is typically locatable in cbfs. Select this
138 option to manually attach the generated amdfw.rom at an
139 offset of 0x20000 from the bottom of the coreboot ROM image.
140
Marc Jones3eec9dd2017-04-09 18:00:40 -0600141config SERIRQ_CONTINUOUS_MODE
142 bool
143 default n
144 help
145 Set this option to y for serial IRQ in continuous mode.
146 Otherwise it is in quiet mode.
Marc Jones7f2c29b2017-04-26 21:55:03 -0600147
148config HUDSON_ACPI_IO_BASE
149 hex
Marc Jones7f2c29b2017-04-26 21:55:03 -0600150 default 0x800
151 help
152 Base address for the ACPI registers.
153 This value must match the hardcoded value of AGESA.
154
Kyösti Mälkkie8b4da22014-10-21 18:22:32 +0300155endif