diff options
author | Mike Loptien <mike.loptien@se-eng.com> | 2013-01-29 15:45:09 -0700 |
---|---|---|
committer | Marc Jones <marcj303@gmail.com> | 2013-01-30 17:36:10 +0100 |
commit | 58089e859dbaca7026cf61df3343073122a7c0a9 (patch) | |
tree | 1e5d33cb87eeb27b4ae25e83ab6e08cf42857005 /src/northbridge | |
parent | cc5b3446624cf85e13a8130a524e81360c5f4239 (diff) | |
download | coreboot-58089e859dbaca7026cf61df3343073122a7c0a9.tar.xz |
Family 14: Update for string portability.
Update function messages to be more portable by using
the __func__ compiler command instead of hard coded
function names.
Change-Id: I6327c9769c2544bbc56155a2f89afd767487faf6
Signed-off-by: Mike Loptien <mike.loptien@se-eng.com>
Reviewed-on: http://review.coreboot.org/2227
Tested-by: build bot (Jenkins)
Reviewed-by: David Hendricks <dhendrix@chromium.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/northbridge')
-rw-r--r-- | src/northbridge/amd/agesa/family14/northbridge.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/northbridge/amd/agesa/family14/northbridge.c b/src/northbridge/amd/agesa/family14/northbridge.c index 06bace4038..3d0b97f608 100644 --- a/src/northbridge/amd/agesa/family14/northbridge.c +++ b/src/northbridge/amd/agesa/family14/northbridge.c @@ -335,7 +335,7 @@ static void nb_read_resources(device_t dev) u32 nodeid; struct bus *link; - printk(BIOS_DEBUG, "\nFam14h - nb_read_resources.\n"); + printk(BIOS_DEBUG, "\nFam14h - %s\n", __func__); nodeid = amdfam14_nodeid(dev); for (link = dev->link_list; link; link = link->next) { @@ -364,7 +364,7 @@ static void set_resource(device_t dev, struct resource *resource, u32 nodeid) unsigned reg, link_num; char buf[50]; - printk(BIOS_DEBUG, "\nFam14h - set_resource.\n"); + printk(BIOS_DEBUG, "\nFam14h - %s\n", __func__); /* Make certain the resource has actually been set */ if (!(resource->flags & IORESOURCE_ASSIGNED)) { @@ -414,7 +414,7 @@ static void create_vga_resource(device_t dev, unsigned nodeid) { struct bus *link; - printk(BIOS_DEBUG, "\nFam14h - create_vga_resource.\n"); + printk(BIOS_DEBUG, "\nFam14h - %s\n", __func__); /* find out which link the VGA card is connected, * we only deal with the 'first' vga card */ @@ -448,7 +448,7 @@ static void nb_set_resources(device_t dev) struct bus *bus; struct resource *res; - printk(BIOS_DEBUG, "\nFam14h - nb_set_resources.\n"); + printk(BIOS_DEBUG, "\nFam14h - %s\n", __func__); /* Find the nodeid */ nodeid = amdfam14_nodeid(dev); @@ -479,7 +479,7 @@ static void domain_read_resources(device_t dev) { unsigned reg; - printk(BIOS_DEBUG, "\nFam14h - domain_read_resources.\n"); + printk(BIOS_DEBUG, "\nFam14h - %s\n", __func__); /* Find the already assigned resource pairs */ get_fx_devs(); @@ -566,7 +566,7 @@ static void setup_uma_memory(void) static void domain_set_resources(device_t dev) { - printk(BIOS_DEBUG, "\nFam14h - domain_set_resources.\n"); + printk(BIOS_DEBUG, "\nFam14h - %s\n", __func__); printk(BIOS_DEBUG, " amsr - incoming dev = %08x\n", (u32) dev); #if CONFIG_PCI_64BIT_PREF_MEM @@ -796,7 +796,7 @@ static void domain_enable_resources(device_t dev) #endif /* Must be called after PCI enumeration and resource allocation */ - printk(BIOS_DEBUG, "\nFam14h - domain_enable_resources: AmdInitMid.\n"); + printk(BIOS_DEBUG, "\nFam14h - %s\n", __func__); #if CONFIG_HAVE_ACPI_RESUME if (acpi_slp_type != 3) { |