[coreboot] Patch set updated for coreboot: d9fbf8c Family 15tn: Update for string portability

Mike Loptien (mike.loptien@se-eng.com) gerrit at coreboot.org
Thu Jan 31 19:19:49 CET 2013


Mike Loptien (mike.loptien at se-eng.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/2251

-gerrit

commit d9fbf8c55e8f3688e44679da03027ca60cbb2293
Author: Mike Loptien <mike.loptien at se-eng.com>
Date:   Wed Jan 30 16:00:43 2013 -0700

    Family 15tn: 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: Ib8ab97666340a9481f3ab71f0f347382e964994f
    Signed-off-by: Mike Loptien <mike.loptien at se-eng.com>
---
 src/northbridge/amd/agesa/family15tn/northbridge.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/northbridge/amd/agesa/family15tn/northbridge.c b/src/northbridge/amd/agesa/family15tn/northbridge.c
index eb63ead..b05a11c 100644
--- a/src/northbridge/amd/agesa/family15tn/northbridge.c
+++ b/src/northbridge/amd/agesa/family15tn/northbridge.c
@@ -544,7 +544,7 @@ static void domain_enable_resources(device_t dev)
 #endif
 
 	/* 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__);
 #if CONFIG_HAVE_ACPI_RESUME
 	if (acpi_slp_type != 3) {
 		printk(BIOS_DEBUG, "agesawrapper_amdinitmid ");
@@ -563,7 +563,7 @@ static void domain_enable_resources(device_t dev)
 		printk(BIOS_DEBUG, "passed.\n");
 #endif
 
-	printk(BIOS_DEBUG, "  ader - leaving domain_enable_resources.\n");
+	printk(BIOS_DEBUG, "  ader - leaving %s.\n", __func__);
 }
 
 #if CONFIG_HW_MEM_HOLE_SIZEK != 0



More information about the coreboot mailing list