blob: 4630df9cca5e225dfc2c3026f12f2a5f57143eeb [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älkki34543672023-04-08 23:07:57 +030013 select ACPI_COMMON_MADT_IOAPIC
Kyösti Mälkki69a13962023-04-08 14:10:48 +030014 select ACPI_COMMON_MADT_LAPIC
Kyösti Mälkki34543672023-04-08 23:07:57 +030015 select ACPI_CUSTOM_MADT
Felix Held78113d42024-01-08 17:09:09 +010016 select HAVE_CONFIGURABLE_APMC_SMI_PORT
Nico Huberf4181052018-10-07 13:25:59 +020017 select HAVE_USBDEBUG_OPTIONS
18 select HAVE_CF9_RESET
19 select HAVE_CF9_RESET_PREPARE
Michał Żygowskif3db2ae2019-11-24 13:26:10 +010020 select SOC_AMD_COMMON
Michał Żygowskif3db2ae2019-11-24 13:26:10 +010021 select SOC_AMD_COMMON_BLOCK_ACPIMMIO
Felix Held31364242021-07-23 19:18:02 +020022 select SOC_AMD_COMMON_BLOCK_ACPIMMIO_BIOSRAM
Felix Held9ab8a782023-07-14 18:44:13 +020023 select SOC_AMD_COMMON_BLOCK_ACPIMMIO_PM_IO_ACCESS
Kyösti Mälkkib8cb1422020-06-23 21:36:14 +030024 select SOC_AMD_COMMON_BLOCK_BANKED_GPIOS
Felix Held4b027692021-08-03 20:09:54 +020025 select SOC_AMD_COMMON_BLOCK_BANKED_GPIOS_NON_SOC_CODEBASE
Felix Held21cdf0d2020-11-23 16:24:29 +010026 select SOC_AMD_COMMON_BLOCK_PCI_MMCONF
Nico Huberf4181052018-10-07 13:25:59 +020027
Kyösti Mälkkie8b4da22014-10-21 18:22:32 +030028config EHCI_BAR
29 hex
30 default 0xfef00000
31
32config HUDSON_XHCI_ENABLE
33 bool "Enable Hudson XHCI Controller"
34 default y
35 help
36 The XHCI controller must be enabled and the XHCI firmware
37 must be added in order to have USB 3.0 support configured
38 by coreboot. The OS will be responsible for enabling the XHCI
Jonathan Neuschäfer45e6c822018-12-11 17:53:07 +010039 controller if the XHCI firmware is available but the
Kyösti Mälkkie8b4da22014-10-21 18:22:32 +030040 XHCI controller is not enabled by coreboot.
41
42config HUDSON_XHCI_FWM
43 bool "Add xhci firmware"
44 default y
45 help
46 Add Hudson 2/3/4 XHCI Firmware to support the onboard USB 3.0
47
Mike Banon7515cd02019-01-09 02:37:07 +030048config HUDSON_IMC_ENABLE
49 bool
50 default n
51
Kyösti Mälkkie8b4da22014-10-21 18:22:32 +030052config HUDSON_IMC_FWM
53 bool "Add IMC firmware"
Mike Banon7515cd02019-01-09 02:37:07 +030054 depends on HUDSON_IMC_ENABLE
Kyösti Mälkkie8b4da22014-10-21 18:22:32 +030055 default y
Dave Frodinfedd8e32015-01-21 07:26:26 -070056 help
Kyösti Mälkkie8b4da22014-10-21 18:22:32 +030057 Add Hudson 2/3/4 IMC Firmware to support the onboard fan control
58
59config HUDSON_GEC_FWM
60 bool
61 default n
Dave Frodinfedd8e32015-01-21 07:26:26 -070062 help
Kyösti Mälkkie8b4da22014-10-21 18:22:32 +030063 Add Hudson 2/3/4 GEC Firmware to support the onboard gigabit Ethernet MAC.
64 Must be connected to a Broadcom B50610 or B50610M PHY on the motherboard.
65
66config HUDSON_PSP
67 bool
Martin Rothc681a822020-11-16 17:19:17 -070068 default y if CPU_AMD_PI_00730F01
Kyösti Mälkkie8b4da22014-10-21 18:22:32 +030069
Zheng Baoc5e28ab2020-10-28 11:38:09 +080070config AMDFW_CONFIG_FILE
71 string "AMD PSP Firmware config file"
72 default "src/southbridge/amd/pi/hudson/fw_avl.cfg" if CPU_AMD_PI_00730F01
73
Kyösti Mälkkie8b4da22014-10-21 18:22:32 +030074config HUDSON_XHCI_FWM_FILE
Dave Frodinfedd8e32015-01-21 07:26:26 -070075 string "XHCI firmware path and filename"
Patrick Georgi26e24cc2015-05-05 22:27:25 +020076 default "3rdparty/blobs/southbridge/amd/avalon/xhci.bin" if SOUTHBRIDGE_AMD_PI_AVALON
WANG Siyuanf2dfef02015-05-20 14:41:01 +080077 default "3rdparty/blobs/southbridge/amd/kern/xhci.bin" if SOUTHBRIDGE_AMD_PI_KERN
Kyösti Mälkkie8b4da22014-10-21 18:22:32 +030078 depends on HUDSON_XHCI_FWM
79
80config HUDSON_IMC_FWM_FILE
Dave Frodinfedd8e32015-01-21 07:26:26 -070081 string "IMC firmware path and filename"
Patrick Georgi26e24cc2015-05-05 22:27:25 +020082 default "3rdparty/blobs/southbridge/amd/avalon/imc.bin" if SOUTHBRIDGE_AMD_PI_AVALON
WANG Siyuanf2dfef02015-05-20 14:41:01 +080083 default "3rdparty/blobs/southbridge/amd/kern/imc.bin" if SOUTHBRIDGE_AMD_PI_KERN
Kyösti Mälkkie8b4da22014-10-21 18:22:32 +030084 depends on HUDSON_IMC_FWM
85
86config HUDSON_GEC_FWM_FILE
Dave Frodinfedd8e32015-01-21 07:26:26 -070087 string "GEC firmware path and filename"
Kyösti Mälkkie8b4da22014-10-21 18:22:32 +030088 depends on HUDSON_GEC_FWM
89
Kyösti Mälkkie8b4da22014-10-21 18:22:32 +030090config AMD_PUBKEY_FILE
Dave Frodinfedd8e32015-01-21 07:26:26 -070091 depends on HUDSON_PSP
92 string "AMD public Key"
Patrick Georgi26e24cc2015-05-05 22:27:25 +020093 default "3rdparty/blobs/southbridge/amd/avalon/PSP/AmdPubKey.bin" if CPU_AMD_PI_00730F01
Kyösti Mälkkie8b4da22014-10-21 18:22:32 +030094
95config HUDSON_SATA_MODE
Dave Frodinfedd8e32015-01-21 07:26:26 -070096 int "SATA Mode"
Piotr Kleinschmidtcb030652019-10-08 16:16:44 +020097 default 2
Dave Frodinfedd8e32015-01-21 07:26:26 -070098 range 0 6
Kyösti Mälkkie8b4da22014-10-21 18:22:32 +030099 help
100 Select the mode in which SATA should be driven. NATIVE AHCI, or RAID.
101 The default is NATIVE.
102 0: NATIVE mode does not require a ROM.
103 1: RAID mode must have the two ROM files.
104 2: AHCI may work with or without AHCI ROM. It depends on the payload support.
105 For example, seabios does not require the AHCI ROM.
106 3: LEGACY IDE
107 4: IDE to AHCI
108 5: AHCI7804: ROM Required, and AMD driver required in the OS.
109 6: IDE to AHCI7804: ROM Required, and AMD driver required in the OS.
110
111comment "NATIVE"
112 depends on HUDSON_SATA_MODE = 0
113
114comment "RAID"
115 depends on HUDSON_SATA_MODE = 1
116
117comment "AHCI"
118 depends on HUDSON_SATA_MODE = 2
119
120comment "LEGACY IDE"
121 depends on HUDSON_SATA_MODE = 3
122
123comment "IDE to AHCI"
124 depends on HUDSON_SATA_MODE = 4
125
126comment "AHCI7804"
127 depends on HUDSON_SATA_MODE = 5
128
129comment "IDE to AHCI7804"
130 depends on HUDSON_SATA_MODE = 6
131
Felix Held02d24122024-01-10 21:54:22 +0100132config HUDSON_FADT_LEGACY_DEVICES
133 bool
Kyösti Mälkkie8b4da22014-10-21 18:22:32 +0300134 help
Felix Held02d24122024-01-10 21:54:22 +0100135 Select if there are legacy devices on the LPC bus.
136
137config HUDSON_FADT_8042
138 bool
139 help
140 Select if there is an 8042-compatible keyboard controller in the
141 system.
Kyösti Mälkkie8b4da22014-10-21 18:22:32 +0300142
Marshall Dawsonc6be0d82017-01-07 18:17:32 -0500143config AMDFW_OUTSIDE_CBFS
144 def_bool n
145 help
146 The AMDFW (PSP) is typically locatable in cbfs. Select this
147 option to manually attach the generated amdfw.rom at an
148 offset of 0x20000 from the bottom of the coreboot ROM image.
149
Marc Jones3eec9dd2017-04-09 18:00:40 -0600150config SERIRQ_CONTINUOUS_MODE
151 bool
152 default n
153 help
154 Set this option to y for serial IRQ in continuous mode.
155 Otherwise it is in quiet mode.
Marc Jones7f2c29b2017-04-26 21:55:03 -0600156
157config HUDSON_ACPI_IO_BASE
158 hex
Marc Jones7f2c29b2017-04-26 21:55:03 -0600159 default 0x800
160 help
161 Base address for the ACPI registers.
162 This value must match the hardcoded value of AGESA.
163
Kyösti Mälkkie8b4da22014-10-21 18:22:32 +0300164endif