[coreboot] New patch to review for coreboot: ef4cbd5 Family 10: Update for string portability

Mike Loptien (mike.loptien@se-eng.com) gerrit at coreboot.org
Thu Jan 31 18:30:37 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/2249

-gerrit

commit ef4cbd50d51306153aeeea9d067c8e929828d94e
Author: Mike Loptien <mike.loptien at se-eng.com>
Date:   Thu Jan 31 10:19:31 2013 -0700

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

diff --git a/src/northbridge/amd/agesa/family10/northbridge.c b/src/northbridge/amd/agesa/family10/northbridge.c
index 4bdc7b4..c5d570a 100644
--- a/src/northbridge/amd/agesa/family10/northbridge.c
+++ b/src/northbridge/amd/agesa/family10/northbridge.c
@@ -833,12 +833,12 @@ static void amdfam10_domain_enable_resources(device_t dev)
 {
 	u32 val;
 	/* Must be called after PCI enumeration and resource allocation */
-	printk(BIOS_DEBUG, "\nFam10 - domain_enable_resources: AmdInitMid.\n");
+	printk(BIOS_DEBUG, "\nFam10 - %s: AmdInitMid.\n", __func__);
 	val = agesawrapper_amdinitmid();
 	if (val) {
 		printk(BIOS_DEBUG, "agesawrapper_amdinitmid failed: %x \n", val);
 	}
-	printk(BIOS_DEBUG, "  ader - leaving domain_enable_resources.\n");
+	printk(BIOS_DEBUG, "  ader - leaving %s.\n", __func__);
 }
 
 



More information about the coreboot mailing list