Thread (39 messages) flat view 39 messages, 7 authors, 2008-02-17

Re: Could the DTS experts look at this?

From: Timur Tabi <hidden>
Date: 2008-02-12 23:47:35

David Gibson wrote:
I can pretty much guarantee you that someone will find that
insufficient and want to expand the conditional representation.  This
way madness lies.
Then let them.  We can have version numbers associated with the conditional 
expressions.  If they want to make more complex condition expressions, they can 
bump the version number and define a spec and write code to parse it.
No.  As Grant says, that's not what the version number is for.  It
represents the version of the encoding, not the content.  If you must
version the content (which you should try really hard to avoid) the
correct way is to add versioning properties to the root node.
And that's why I prefer updating the DTB format to allow attaching conditional 
expressions to nodes.  This would then necessitate bumping the version number. 
Older U-Boots will reject this new DTB.  We can also modify DTC to support 
conditional nodes, so that if a customer has an older U-Boot he can't update, he 
can use DTC to generate a V17 DTB that has the conditionals already processed.

-- 
Timur Tabi
Linux kernel developer at Freescale
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help