southbridge/amd/pi: Rename Avalon to Hudson

To maintain consistancy with southbridge/amd/agesa/hudson rename
pi/avalon to pi/hudson in advance of adding support for the
base hudson southbridge.

Change-Id: Icff8c4c06aae2d40cbd9e90903754735ac3510c3
Signed-off-by: Dave Frodin <dave.frodin@se-eng.com>
Reviewed-on: http://review.coreboot.org/8251
Tested-by: build bot (Jenkins)
Reviewed-by: Marc Jones <marc.jones@se-eng.com>
This commit is contained in:
Dave Frodin
2015-01-19 11:40:38 -07:00
parent bd1d1580d3
commit bc21a41e1c
44 changed files with 25 additions and 25 deletions

View File

@@ -17,4 +17,4 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
source src/southbridge/amd/pi/avalon/Kconfig
source src/southbridge/amd/pi/hudson/Kconfig

View File

@@ -16,4 +16,4 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
subdirs-$(CONFIG_SOUTHBRIDGE_AMD_PI_AVALON) += avalon
subdirs-$(CONFIG_SOUTHBRIDGE_AMD_PI_AVALON) += hudson

View File

@@ -27,7 +27,7 @@ if SOUTHBRIDGE_AMD_PI_AVALON
config BOOTBLOCK_SOUTHBRIDGE_INIT
string
default "southbridge/amd/pi/avalon/bootblock.c"
default "southbridge/amd/pi/hudson/bootblock.c"
config SOUTHBRIDGE_AMD_HUDSON_SKIP_ISA_DMA_INIT
bool
@@ -172,7 +172,7 @@ config HUDSON_AHCI_ROM
config AHCI_ROM_FILE
string "AHCI ROM path and filename"
depends on HUDSON_AHCI_ROM
default "src/southbridge/amd/pi/avalon/ahci.bin"
default "src/southbridge/amd/pi/hudson/ahci.bin"
endif
@@ -186,11 +186,11 @@ config RAID_ROM_ID
config RAID_ROM_FILE
string "RAID ROM path and filename"
default "src/southbridge/amd/pi/avalon/raid.bin"
default "src/southbridge/amd/pi/hudson/raid.bin"
config RAID_MISC_ROM_FILE
string "RAID Misc ROM path and filename"
default "src/southbridge/amd/pi/avalon/misc.bin"
default "src/southbridge/amd/pi/hudson/misc.bin"
config RAID_MISC_ROM_POSITION
hex "RAID Misc ROM Position"

View File

@@ -28,7 +28,7 @@
#
#*****************************************************************************
INCLUDES += -Isrc/southbridge/amd/pi/avalon
INCLUDES += -Isrc/southbridge/amd/pi/hudson
romstage-y += smbus.c smbus_spd.c
ramstage-y += hudson.c

View File

@@ -17,10 +17,10 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef AVALON_CHIP_H
#define AVALON_CHIP_H
#ifndef HUDSON_CHIP_H
#define HUDSON_CHIP_H
struct southbridge_amd_pi_avalon_config
struct southbridge_amd_pi_hudson_config
{
#if 1
u32 ide0_enable : 1;
@@ -32,4 +32,4 @@ struct southbridge_amd_pi_avalon_config
#endif
};
#endif /* AVALON_CHIP_H */
#endif /* HUDSON_CHIP_H */

View File

@@ -33,7 +33,7 @@
/* Offsets from ACPI_MMIO_BASE
* This is defined by AGESA, but we don't include AGESA headers to avoid
* polluting the namesace.
* polluting the namespace.
*/
#define PM_MMIO_BASE 0xfed80300
@@ -132,7 +132,7 @@ static void hudson_final(void *chip_info)
{
}
struct chip_operations southbridge_amd_pi_avalon_ops = {
struct chip_operations southbridge_amd_pi_hudson_ops = {
CHIP_NAME("ATI HUDSON")
.enable_dev = hudson_enable,
.init = hudson_init,

View File

@@ -31,8 +31,8 @@ static void sd_init(struct device *dev)
stepping = pci_read_config32(dev_find_slot(0, PCI_DEVFN(0x18, 3)), 0xFC);
struct southbridge_amd_pi_avalon_config *sd_chip =
(struct southbridge_amd_pi_avalon_config *)(dev->chip_info);
struct southbridge_amd_pi_hudson_config *sd_chip =
(struct southbridge_amd_pi_hudson_config *)(dev->chip_info);
if (sd_chip->sd_mode == 3) { /* SD 3.0 mode */
pci_write_config32(dev, 0xA4, 0x31FEC8B2);