]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Add spaces around the = in the fdt print format.
authorGerald Van Baren <vanbaren@cideas.com>
Sat, 24 Nov 2007 00:43:20 +0000 (19:43 -0500)
committerGerald Van Baren <vanbaren@cideas.com>
Sat, 8 Dec 2007 01:51:24 +0000 (20:51 -0500)
Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
common/cmd_fdt.c

index 629c9b413ea6524cfebd565240ef098ace230ca8..4639126536bea5ad5c6eb24fb03eb18b0a26a887 100644 (file)
@@ -588,7 +588,7 @@ static int fdt_print(const char *pathp, char *prop, int depth)
                        printf("%s %s\n", pathp, prop);
                        return 0;
                } else if (len > 0) {
-                       printf("%s=", prop);
+                       printf("%s = ", prop);
                        print_data (nodep, len);
                        printf("\n");
                        return 0;
@@ -649,7 +649,7 @@ static int fdt_print(const char *pathp, char *prop, int depth)
                                                pathp);
                        } else {
                                if (level <= depth) {
-                                       printf("%s%s=",
+                                       printf("%s%s = ",
                                                &tabs[MAX_LEVEL - level],
                                                pathp);
                                        print_data (nodep, len);