mirror of
https://github.com/dgibson/dtc.git
synced 2025-12-09 13:15:18 -05:00
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:
parent
f040d95b84
commit
712e52e438
4 changed files with 9 additions and 9 deletions
6
dtc.c
6
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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue