diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c index ab8648fffcf9351dfa9264c117499f74ece3e722..2721216bf35eba2418efa60874703c7214eb3e05 100644 --- a/common/cmd_bootm.c +++ b/common/cmd_bootm.c @@ -38,7 +38,7 @@ #include <fdt.h> #include <libfdt.h> #endif -#if defined(CONFIG_OF_FLAT_TREE) +#if defined(CONFIG_OF_FLAT_TREE) #include <ft_build.h> #endif diff --git a/cpu/mpc83xx/cpu.c b/cpu/mpc83xx/cpu.c index 851241adfb475a65b18d5398b06e469f5463fb4e..21b16463cd7429574795b7893daa0332ef0ce63a 100644 --- a/cpu/mpc83xx/cpu.c +++ b/cpu/mpc83xx/cpu.c @@ -377,12 +377,12 @@ ft_cpu_setup(void *blob, bd_t *bd) fixup_props[j].prop, bd->bi_enetaddr, 6); } else { printf("ft_cpu_setup: %s %s has no flag for the value to set\n", - fixup_props[j].node, + fixup_props[j].node, fixup_props[j].prop); } if (err < 0) printf("libfdt: %s %s returned %s\n", - fixup_props[j].node, + fixup_props[j].node, fixup_props[j].prop, fdt_strerror(err)); } diff --git a/libfdt/fdt_ro.c b/libfdt/fdt_ro.c index f8840839502b94ea3d17bd240c474fc662f0be9f..4b20553da0a7892c5671932b82dd972754bbce43 100644 --- a/libfdt/fdt_ro.c +++ b/libfdt/fdt_ro.c @@ -171,7 +171,7 @@ int fdt_path_offset(const void *fdt, const char *path) p = q; } - return offset; + return offset; } /* @@ -240,7 +240,7 @@ struct fdt_property *fdt_get_property(const void *fdt, if (lenp) *lenp = len; - + return prop; } break;