[coreboot] [PATCH] RFC: autocreate Kconfig from DTS

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Fri Aug 22 13:37:30 CEST 2008

On 22.08.2008 05:41, ron minnich wrote:
> I just realized my misgiving. You just created a new dts parser in a
> shell script. We now have 2 dts parsers. So the idea is interesting,
> the implementation concerns me. Could we get dtc, as part of dts
> parsing, to generate this? Or, could we have an option to dtc to
> generate this? We should really only have one dts parser.

Yes, absolutely.

However, the dtc code is horrible. I have sprinkled annotations all over
the dtc code and I still have not figured out everything.
Segher says that the current dtc upstream has better code quality,
however our changes are extensive and merging will be a pain. He
suggests to use plain upstream dtc and parse its output into our own
formats. I have no opinion on dtc changes.



More information about the coreboot mailing list