Carl-Daniel Hailfinger wrote:
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.
Makes sense. Patches welcome.