Use names for output functions in the form dt_to_*() instead of

write_dt_*() for consistency with the dt_from_*() input functions.
This commit is contained in:
David Gibson 2005-10-26 16:56:26 +10:00
parent f040d95b84
commit 712e52e438
4 changed files with 9 additions and 9 deletions

6
dtc.c
View file

@ -183,11 +183,11 @@ int main(int argc, char *argv[])
}
if (streq(outform, "dts")) {
write_tree_source(outf, bi);
dt_to_source(outf, bi);
} else if (streq(outform, "dtb")) {
write_dt_blob(outf, bi, outversion);
dt_to_blob(outf, bi, outversion);
} else if (streq(outform, "asm")) {
write_dt_asm(outf, bi, outversion);
dt_to_asm(outf, bi, outversion);
} else if (streq(outform, "null")) {
/* do nothing */
} else {