of_dump: Add option to print node names only
Devicetrees tend to become very long and it is hard to find the
interesting nodes in a full tree output.
This patch adds the -n option to the of_node command. With this
option only the names of the nodes are printed, but not the properties.
The resulting output is much shorter and the node one is interested
in can be copy/pasted to a second call to of_node.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent a1aa681 commit 31fd4cceb63aab1ec27a8d5e1a70a54d7cfdc914
@Sascha Hauer Sascha Hauer authored on 21 Oct 2015
Showing 1 changed file
View
commands/of_dump.c