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.
This commit is contained in:
Gerald Van Baren
2007-04-06 14:19:43 -04:00
parent 6679f92995
commit 64dbbd40c5
7 changed files with 412 additions and 275 deletions

View File

@@ -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) {