Rename family15tn 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: Icda3ec58219baa177af3b1dce729c6ad1f744be8
Signed-off-by: Steven Sherk <steven.sherk@se-eng.com>
Reviewed-on: http://review.coreboot.org/2226
Tested-by: build bot (Jenkins)
Reviewed-by: Marc Jones <marcj303@gmail.com>
This commit is contained in:
parent
e1ea5151de
commit
f434058b04
|
@ -326,7 +326,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;
|
||||||
|
@ -419,7 +419,7 @@ static void create_vga_resource(device_t dev, unsigned nodeid)
|
||||||
set_vga_enable_reg(nodeid, sblink);
|
set_vga_enable_reg(nodeid, sblink);
|
||||||
}
|
}
|
||||||
|
|
||||||
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;
|
||||||
|
@ -448,8 +448,8 @@ static void northbridge_init(struct device *dev)
|
||||||
|
|
||||||
|
|
||||||
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,
|
||||||
.enable = 0,
|
.enable = 0,
|
||||||
|
|
Loading…
Reference in New Issue