Re: [PATCH 1/3] dtc: Keep type information from DTS

2014-01-21 Thread Grant Likely
On Mon, 16 Dec 2013 11:08:33 -0700, Stephen Warren swar...@wwwdotorg.org wrote: On 12/13/2013 09:49 AM, Tomasz Figa wrote: Currently dtc loses information about data types when parsing DTS, because it flattens all the parsed property data into a flat stream of bytes. The only saved

Re: [PATCH 1/3] dtc: Keep type information from DTS

2014-01-21 Thread David Gibson
On Tue, Jan 21, 2014 at 12:06:06PM +, Grant Likely wrote: On Mon, 16 Dec 2013 11:08:33 -0700, Stephen Warren swar...@wwwdotorg.org wrote: On 12/13/2013 09:49 AM, Tomasz Figa wrote: Currently dtc loses information about data types when parsing DTS, because it flattens all the parsed

Re: [PATCH 1/3] dtc: Keep type information from DTS

2013-12-23 Thread Tomasz Figa
On Monday 16 of December 2013 11:08:33 Stephen Warren wrote: On 12/13/2013 09:49 AM, Tomasz Figa wrote: Currently dtc loses information about data types when parsing DTS, because it flattens all the parsed property data into a flat stream of bytes. The only saved metadata is for references

Re: [PATCH 1/3] dtc: Keep type information from DTS

2013-12-16 Thread Stephen Warren
On 12/13/2013 09:49 AM, Tomasz Figa wrote: Currently dtc loses information about data types when parsing DTS, because it flattens all the parsed property data into a flat stream of bytes. The only saved metadata is for references to other nodes inside cell arrays. This makes it impossible to

[PATCH 1/3] dtc: Keep type information from DTS

2013-12-13 Thread Tomasz Figa
Currently dtc loses information about data types when parsing DTS, because it flattens all the parsed property data into a flat stream of bytes. The only saved metadata is for references to other nodes inside cell arrays. This makes it impossible to do any checks on data types on livetree