[PATCH 7/8] Remove fdtdump and use fdtgrep instead

Simon Glass sjg at chromium.org
Thu Feb 7 03:40:27 EST 2013


Hi David,

On Tue, Feb 5, 2013 at 11:16 PM, David Gibson
<david at gibson.dropbear.id.au> wrote:
> On Mon, Jan 21, 2013 at 12:59:21PM -0800, Simon Glass wrote:
>> Since fdtgrep does everything that fdtdump does now, perhaps we should
>> replace it with a symlink.
>
> Nack.  The point of fdtdump is not simply to be a tool for dumping
> device trees - dtc -I dtb -O dts will do that already.  The point is
> to be a really simple, independent implementation of dumping the tree,
> which can be used for analyzing bugs in the more complex tools.

Sounds reasonable - I wasn't aware of that. I figured that if I didn't
send a patch to implement dump with grep then someone would ask for
it... But I agree it is nice to keep the simple code and I have made
the output function common anyway.

Regards,
Simon

>
> --
> David Gibson                    | I'll have my music baroque, and my code
> david AT gibson.dropbear.id.au  | minimalist, thank you.  NOT _the_ _other_
>                                 | _way_ _around_!
> http://www.ozlabs.org/~dgibson


More information about the devicetree-discuss mailing list