Family 15: 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: Ie71fec39df5e7703d35d6505dc7d5b55179e2c7e Signed-off-by: Mike Loptien <mike.loptien@se-eng.com> Reviewed-on: http://review.coreboot.org/2234 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martin.roth@se-eng.com> Reviewed-by: Marc Jones <marcj303@gmail.com>
This commit is contained in:
parent
1cbabb00d9
commit
8401453486
|
@ -570,12 +570,12 @@ static void domain_enable_resources(device_t dev)
|
||||||
{
|
{
|
||||||
u32 val;
|
u32 val;
|
||||||
/* Must be called after PCI enumeration and resource allocation */
|
/* Must be called after PCI enumeration and resource allocation */
|
||||||
printk(BIOS_DEBUG, "\nFam15 - domain_enable_resources: AmdInitMid.\n");
|
printk(BIOS_DEBUG, "\nFam15 - %s: AmdInitMid.\n", __func__);
|
||||||
val = agesawrapper_amdinitmid();
|
val = agesawrapper_amdinitmid();
|
||||||
if (val) {
|
if (val) {
|
||||||
printk(BIOS_DEBUG, "agesawrapper_amdinitmid failed: %x \n", val);
|
printk(BIOS_DEBUG, "agesawrapper_amdinitmid failed: %x \n", val);
|
||||||
}
|
}
|
||||||
printk(BIOS_DEBUG, " ader - leaving domain_enable_resources.\n");
|
printk(BIOS_DEBUG, " Fam15 - leaving %s.\n", __func__);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue