2 ## This file is part of the coreboot project.
4 ## Copyright (C) 2010 Advanced Micro Devices, Inc.
6 ## This program is free software; you can redistribute it and/or modify
7 ## it under the terms of the GNU General Public License as published by
8 ## the Free Software Foundation; version 2 of the License.
10 ## This program is distributed in the hope that it will be useful,
11 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 ## GNU General Public License for more details.
16 config SOUTHBRIDGE_AMD_AGESA_HUDSON
19 select HAVE_USBDEBUG_OPTIONS
20 select HAVE_HARD_RESET
22 config SOUTHBRIDGE_AMD_AGESA_YANGTZE
25 select HAVE_USBDEBUG_OPTIONS
26 select HAVE_HARD_RESET
28 if SOUTHBRIDGE_AMD_AGESA_HUDSON || SOUTHBRIDGE_AMD_AGESA_YANGTZE
30 config BOOTBLOCK_SOUTHBRIDGE_INIT
32 default "southbridge/amd/agesa/hudson/bootblock.c"
34 config SOUTHBRIDGE_AMD_HUDSON_SKIP_ISA_DMA_INIT
42 config HUDSON_XHCI_ENABLE
43 bool "Enable Hudson XHCI Controller"
46 The XHCI controller must be enabled and the XHCI firmware
47 must be added in order to have USB 3.0 support configured
48 by coreboot. The OS will be responsible for enabling the XHCI
49 controller if the the XHCI firmware is available but the
50 XHCI controller is not enabled by coreboot.
52 config HUDSON_XHCI_FWM
53 bool "Add xhci firmware"
54 default y if USE_BLOBS
56 Add Hudson 2/3/4 XHCI Firmware to support the onboard USB 3.0
59 bool "Add imc firmware"
60 default y if USE_BLOBS
62 Add Hudson 2/3/4 IMC Firmware to support the onboard fan control
68 Add Hudson 2/3/4 GEC Firmware to support the onboard gigabit Ethernet MAC.
69 Must be connected to a Broadcom B50610 or B50610M PHY on the motherboard.
71 config HUDSON_XHCI_FWM_FILE
72 string "XHCI firmware path and filename"
73 default "3rdparty/blobs/southbridge/amd/hudson/xhci.bin" if SOUTHBRIDGE_AMD_AGESA_HUDSON
74 default "3rdparty/blobs/southbridge/amd/yangtze/xhci.bin" if SOUTHBRIDGE_AMD_AGESA_YANGTZE
75 depends on HUDSON_XHCI_FWM
77 config HUDSON_IMC_FWM_FILE
78 string "IMC firmware path and filename"
79 default "3rdparty/blobs/southbridge/amd/hudson/imc.bin" if SOUTHBRIDGE_AMD_AGESA_HUDSON
80 default "3rdparty/blobs/southbridge/amd/yangtze/imc.bin" if SOUTHBRIDGE_AMD_AGESA_YANGTZE
81 depends on HUDSON_IMC_FWM
83 config HUDSON_GEC_FWM_FILE
84 string "GEC firmware path and filename"
85 default "3rdparty/blobs/southbridge/amd/hudson/gec.bin" if SOUTHBRIDGE_AMD_AGESA_HUDSON
86 default "3rdparty/blobs/southbridge/amd/yangtze/gec.bin" if SOUTHBRIDGE_AMD_AGESA_YANGTZE
87 depends on HUDSON_GEC_FWM
91 default y if HUDSON_XHCI_FWM || HUDSON_IMC_FWM || HUDSON_GEC_FWM
96 config HUDSON_FWM_POSITION
97 hex "Hudson Firmware ROM Position"
98 default 0xFFF20000 if BOARD_ROMSIZE_KB_1024
99 default 0xFFE20000 if BOARD_ROMSIZE_KB_2048
100 default 0xFFC20000 if BOARD_ROMSIZE_KB_4096
101 default 0xFF820000 if BOARD_ROMSIZE_KB_8192
102 default 0xFF020000 if BOARD_ROMSIZE_KB_16384
104 Hudson requires the firmware MUST be located at
105 a specific address (ROM start address + 0x20000), otherwise
106 xhci host Controller can not find or load the xhci firmware.
108 The firmware start address is dependent on the ROM chip size.
109 The default offset is 0x20000 from the ROM start address, namely
110 0xFFF20000 if flash chip size is 1M
111 0xFFE20000 if flash chip size is 2M
112 0xFFC20000 if flash chip size is 4M
113 0xFF820000 if flash chip size is 8M
114 0xFF020000 if flash chip size is 16M
117 config HUDSON_SATA_MODE
122 Select the mode in which SATA should be driven. NATIVE AHCI, or RAID.
123 The default is NATIVE.
124 0: NATIVE mode does not require a ROM.
125 1: RAID mode must have the two ROM files.
126 2: AHCI may work with or without AHCI ROM. It depends on the payload support.
127 For example, seabios does not require the AHCI ROM.
130 5: AHCI7804: ROM Required, and AMD driver required in the OS.
131 6: IDE to AHCI7804: ROM Required, and AMD driver required in the OS.
134 depends on HUDSON_SATA_MODE = 0
137 depends on HUDSON_SATA_MODE = 1
140 depends on HUDSON_SATA_MODE = 2
143 depends on HUDSON_SATA_MODE = 3
145 comment "IDE to AHCI"
146 depends on HUDSON_SATA_MODE = 4
149 depends on HUDSON_SATA_MODE = 5
151 comment "IDE to AHCI7804"
152 depends on HUDSON_SATA_MODE = 6
154 if HUDSON_SATA_MODE = 2 || HUDSON_SATA_MODE = 5
157 string "AHCI device PCI IDs"
158 default "1022,7801" if HUDSON_SATA_MODE = 2
159 default "1022,7804" if HUDSON_SATA_MODE = 5
161 config HUDSON_AHCI_ROM
162 bool "Add a AHCI ROM"
165 string "AHCI ROM path and filename"
166 depends on HUDSON_AHCI_ROM
167 default "src/southbridge/amd/agesa/hudson/ahci.bin"
171 if HUDSON_SATA_MODE = 1
174 string "RAID device PCI IDs"
177 1022,7802 for SATA NON-RAID5 module, 1022,7803 for SATA RAID5 mode
180 string "RAID ROM path and filename"
181 default "src/southbridge/amd/agesa/hudson/raid.bin"
183 config RAID_MISC_ROM_FILE
184 string "RAID Misc ROM path and filename"
185 default "src/southbridge/amd/agesa/hudson/misc.bin"
187 config RAID_MISC_ROM_POSITION
188 hex "RAID Misc ROM Position"
191 The RAID ROM requires that the MISC ROM is located between the range
192 0xFFF0_0000 to 0xFFF0_FFFF. Also, it must 1K bytes aligned.
193 The CONFIG_ROM_SIZE must be larger than 0x100000.
197 config HUDSON_LEGACY_FREE
198 bool "System is legacy free"
200 Select y if there is no keyboard controller in the system.
201 This sets variables in AGESA and ACPI.
203 config ACPI_ENABLE_THERMAL_ZONE
207 endif # SOUTHBRIDGE_AMD_AGESA_HUDSON || SOUTHBRIDGE_AMD_AGESA_YANGTZE
209 if SOUTHBRIDGE_AMD_AGESA_YANGTZE