[coreboot] [PATCH] [v3] add array parsing to dts

Ward Vandewege ward at gnu.org
Thu Apr 10 02:51:39 CEST 2008


With a lot of help from Stepan at the summit, this patch adds array parsing
support to the dts, specifically for the 'unwanted_vpci' field.

The code is a bit of a hack - it matches against the field name to change
interpretation to array mode. Ideally we'd add some more type information
after the parsing of the dts, and use that to write out statictree.c.

The dts parsing/generation code needs some love, so I'm not too worried about
the hackishness of this patch at this point. But if someone wants to improve
it, be my guest :)

Thanks,
Ward.

-- 
Ward Vandewege <ward at fsf.org>
Free Software Foundation - Senior System Administrator
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dts-array.patch
Type: text/x-diff
Size: 2612 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20080409/e6cb059a/attachment.bin>


More information about the coreboot mailing list