summaryrefslogtreecommitdiff
path: root/cpu/mpc83xx
diff options
context:
space:
mode:
authorGerald Van Baren <vanbaren@cideas.com>2007-04-06 14:19:43 -0400
committerGerald Van Baren <vanbaren@cideas.com>2007-04-06 14:19:43 -0400
commit64dbbd40c58349b64f43fd33dbb5ca0adb67d642 (patch)
treeeffa2f40e05d50b03d4dbb5422f060f3f8b217c4 /cpu/mpc83xx
parent6679f9299534e488a171a9bb8f9bb891de247aab (diff)
downloadu-boot-64dbbd40c58349b64f43fd33dbb5ca0adb67d642.tar.gz
u-boot-64dbbd40c58349b64f43fd33dbb5ca0adb67d642.tar.bz2
u-boot-64dbbd40c58349b64f43fd33dbb5ca0adb67d642.zip
Moved fdt command support code to fdt_support.c
...in preparation for improving the bootm command's handling of fdt blobs. Also cleaned up some coding sloppiness.
Diffstat (limited to 'cpu/mpc83xx')
-rw-r--r--cpu/mpc83xx/cpu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpu/mpc83xx/cpu.c b/cpu/mpc83xx/cpu.c
index 21b16463cd..aa4d9b1f1b 100644
--- a/cpu/mpc83xx/cpu.c
+++ b/cpu/mpc83xx/cpu.c
@@ -364,6 +364,7 @@ ft_cpu_setup(void *blob, bd_t *bd)
/*
* If unconditional create or the property already exists...
*/
+ err = 0;
if ((fixup_props[j].createflags & FT_CREATE) ||
(fdt_get_property(fdt, nodeoffset, fixup_props[j].prop, 0))) {
if (fixup_props[j].createflags & FT_BUSFREQ) {