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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user