summaryrefslogtreecommitdiff
path: root/dtc.c
diff options
context:
space:
mode:
authorDavid Gibson <dgibson@sneetch.(none)>2005-10-26 16:56:26 +1000
committerDavid Gibson <dgibson@sneetch.(none)>2005-10-26 16:56:26 +1000
commit712e52e4386295c6ae9570721c4c91965d747b08 (patch)
tree13bd631affa744ee7adb8e0c0fc488217bcf7660 /dtc.c
parentf040d95b847c4f7d1fa4c3c6309127b8c1ffd8b3 (diff)
downloaddtc-712e52e4386295c6ae9570721c4c91965d747b08.tar.gz
Use names for output functions in the form dt_to_*() instead of
write_dt_*() for consistency with the dt_from_*() input functions.
Diffstat (limited to 'dtc.c')
-rw-r--r--dtc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dtc.c b/dtc.c
index c2d24ab..f26b1ec 100644
--- a/dtc.c
+++ b/dtc.c
@@ -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 {