Rename family15 pci northbridgeops functions.
This is a port of the following
commit 8a49ac7f80
Rename fam14 pci northbridge ops functions.
Clarify the northbridge ops function names.
original-Change-Id: If7d89de761c1e22f9ae39d36f5cf334cc2910e1d
Signed-off-by: Marc Jones <marc.jones@se-eng.com>
Change-Id: Id7889bf02e2696220081251acdf695327267c796
Signed-off-by: Steven Sherk <steven.sherk@se-eng.com>
Reviewed-on: http://review.coreboot.org/2225
Tested-by: build bot (Jenkins)
Reviewed-by: Marc Jones <marcj303@gmail.com>
This commit is contained in:
parent
f434058b04
commit
5fc64dca45
|
@ -330,7 +330,7 @@ static void amdfam15_link_read_bases(device_t dev, u32 nodeid, u32 link)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static void read_resources(device_t dev)
|
static void nb_read_resources(device_t dev)
|
||||||
{
|
{
|
||||||
u32 nodeid;
|
u32 nodeid;
|
||||||
struct bus *link;
|
struct bus *link;
|
||||||
|
@ -427,7 +427,7 @@ static void create_vga_resource(device_t dev, unsigned nodeid)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static void set_resources(device_t dev)
|
static void nb_set_resources(device_t dev)
|
||||||
{
|
{
|
||||||
unsigned nodeid;
|
unsigned nodeid;
|
||||||
struct bus *bus;
|
struct bus *bus;
|
||||||
|
@ -478,8 +478,8 @@ static unsigned scan_chains(device_t dev, unsigned max)
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct device_operations northbridge_operations = {
|
static struct device_operations northbridge_operations = {
|
||||||
.read_resources = read_resources,
|
.read_resources = nb_read_resources,
|
||||||
.set_resources = set_resources,
|
.set_resources = nb_set_resources,
|
||||||
.enable_resources = pci_dev_enable_resources,
|
.enable_resources = pci_dev_enable_resources,
|
||||||
.init = northbridge_init,
|
.init = northbridge_init,
|
||||||
.scan_bus = scan_chains,
|
.scan_bus = scan_chains,
|
||||||
|
|
Loading…
Reference in New Issue