summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarc Jones <marc.jones@se-eng.com>2013-01-16 17:02:20 -0700
committerPatrick Georgi <patrick@georgi-clan.de>2013-01-22 12:18:10 +0100
commit8a49ac7f808f76821e7d63070420cfd98f707c7c (patch)
tree904ada362d67459d408835aa9d702b9022c6a395 /src
parent73e86a88d223a3c8f0b572c43aa39269df5bff62 (diff)
downloadcoreboot-8a49ac7f808f76821e7d63070420cfd98f707c7c.tar.xz
Rename fam14 pci northbridge ops functions.
Clarify the northbridge ops function names. Change-Id: If7d89de761c1e22f9ae39d36f5cf334cc2910e1d Signed-off-by: Marc Jones <marc.jones@se-eng.com> Reviewed-on: http://review.coreboot.org/2166 Tested-by: build bot (Jenkins) Reviewed-by: Dave Frodin <dave.frodin@se-eng.com> Reviewed-by: Martin Roth <martin.roth@se-eng.com>
Diffstat (limited to 'src')
-rw-r--r--src/northbridge/amd/agesa/family14/northbridge.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/northbridge/amd/agesa/family14/northbridge.c b/src/northbridge/amd/agesa/family14/northbridge.c
index 5e8d89b46d..0bbf10c2fd 100644
--- a/src/northbridge/amd/agesa/family14/northbridge.c
+++ b/src/northbridge/amd/agesa/family14/northbridge.c
@@ -330,12 +330,12 @@ static struct hw_mem_hole_info get_hw_mem_hole_info(void)
}
#endif
-static void read_resources(device_t dev)
+static void nb_read_resources(device_t dev)
{
u32 nodeid;
struct bus *link;
- printk(BIOS_DEBUG, "\nFam14h - read_resources.\n");
+ printk(BIOS_DEBUG, "\nFam14h - nb_read_resources.\n");
nodeid = amdfam14_nodeid(dev);
for (link = dev->link_list; link; link = link->next) {
@@ -429,13 +429,13 @@ static void create_vga_resource(device_t dev, unsigned nodeid)
set_vga_enable_reg(nodeid, link->link_num);
}
-static void set_resources(device_t dev)
+static void nb_set_resources(device_t dev)
{
unsigned nodeid;
struct bus *bus;
struct resource *res;
- printk(BIOS_DEBUG, "\nFam14h - set_resources.\n");
+ printk(BIOS_DEBUG, "\nFam14h - nb_set_resources.\n");
/* Find the nodeid */
nodeid = amdfam14_nodeid(dev);
@@ -855,8 +855,8 @@ static void cpu_bus_init(device_t dev)
/* North Bridge Structures */
static struct device_operations northbridge_operations = {
- .read_resources = read_resources,
- .set_resources = set_resources,
+ .read_resources = nb_read_resources,
+ .set_resources = nb_set_resources,
.enable_resources = pci_dev_enable_resources,
.init = northbridge_init,
.enable = 0,.ops_pci = 0,