mirror of
https://github.com/dgibson/dtc.git
synced 2026-07-10 13:29:48 -04:00
Mirror of DTC
Currently the main recursive tree printing function, write_tree_source_node(), calls guess_type() to apply heuristics to see how to print a property value, then calls the appropriate write_propval_*() function to print it. However, future heuristics for handling internal labels and the like don't work well this way. Therefore, this patch refactors things to have write_tree_source_node() call a new write_propval() function, which incorporates the heurstic logic from guess_type() and also calls the right function to do the actual printing. No behavioural change. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> |
||
|---|---|---|
| Documentation | ||
| libfdt | ||
| scripts | ||
| tests | ||
| .gitignore | ||
| checks.c | ||
| comment-test.dts | ||
| data.c | ||
| dtc-lexer.l | ||
| dtc-parser.y | ||
| dtc.c | ||
| dtc.h | ||
| flattree.c | ||
| fstree.c | ||
| ftdump.c | ||
| GPL | ||
| livetree.c | ||
| Makefile | ||
| Makefile.dtc | ||
| srcpos.c | ||
| srcpos.h | ||
| TODO | ||
| treesource.c | ||