From: Marian Balakowicz <[EMAIL PROTECTED]>

fdt_support.c does not compile with the DEBUG enabled,
correct arguments passed to debug() calls.

Signed-off-by: Marian Balakowicz <[EMAIL PROTECTED]>
---

 common/fdt_support.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/common/fdt_support.c b/common/fdt_support.c
index a13c140..628bbdd 100644
--- a/common/fdt_support.c
+++ b/common/fdt_support.c
@@ -418,7 +418,7 @@ void do_fixup_by_path(void *fdt, const char *path, const 
char *prop,
 {
 #if defined(DEBUG)
        int i;
-       debug("Updating property '%s/%s' = ", node, prop);
+       debug("Updating property %s, path '%s' = ", prop, path);
        for (i = 0; i < len; i++)
                debug(" %.2x", *(u8*)(val+i));
        debug("\n");
@@ -444,7 +444,7 @@ void do_fixup_by_prop(void *fdt,
        int off;
 #if defined(DEBUG)
        int i;
-       debug("Updating property '%s/%s' = ", node, prop);
+       debug("Updating property '%s', pname '%s' = ", prop, pname);
        for (i = 0; i < len; i++)
                debug(" %.2x", *(u8*)(val+i));
        debug("\n");
@@ -471,7 +471,7 @@ void do_fixup_by_compat(void *fdt, const char *compat,
        int off = -1;
 #if defined(DEBUG)
        int i;
-       debug("Updating property '%s/%s' = ", node, prop);
+       debug("Updating property '%s', compat '%s' = ", prop, compat);
        for (i = 0; i < len; i++)
                debug(" %.2x", *(u8*)(val+i));
        debug("\n");


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
U-Boot-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to