Re: [PATCH Resend V2] dt: add helper function to read u8 & u16variables & arrays

From: Viresh Kumar
Date: Mon Nov 19 2012 - 12:37:46 EST


On 19 November 2012 21:58, Stephen Warren <swarren@xxxxxxxxxxxxx> wrote:
> Support for byte- and word- properties is relatively recent I believe
> (or at least, the /bits/ syntax is). Which dtc version are you using?

Ok, i was on a older version. I just saw this patch now:

commit cd296721a9645f9f28800a072490fa15458d1fb7
Author: Stephen Warren <swarren@xxxxxxxxxx>
Date: Fri Sep 28 21:25:59 2012 +0000

dtc: import latest upstream dtc

This updates scripts/dtc to commit 317a5d9 "dtc: zero out new label
objects" from git://git.jdl.com/software/dtc.git.

This adds features such as:
* /bits/ syntax for cell data.
* Math expressions within cell data.
* The ability to delete properties or nodes.
* Support for #line directives in the input file, which allows the use of
cpp on *.dts.
* -i command-line option (/include/ path)
* -W/-E command-line options for error/warning control.
* Removal of spew to STDOUT containing the filename being compiled.
* Many additions to the libfdt API.

Signed-off-by: Stephen Warren <swarren@xxxxxxxxxx>
Acked-by: Jon Loeliger <jdl@xxxxxxx>
Signed-off-by: Rob Herring <rob.herring@xxxxxxxxxxx>

Will try it tomorrow

--
viresh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/