
Dear Stephen Warren,
In message 50CF9BAA.3050504@wwwdotorg.org you wrote:
There are many ways besides device tree to enumerate hardware. For example, consider PCI or USB (albeit USB isn't memory mapped). I don't
Yes, there are. But your console port cannot be compred against dynamically populated and scannable bus interfaces like USB or PCI, and I think you are aware of that.
think we should tie any new U-Boot dynamic device registration API to device tree, since that would seem to prevent (or imply against) usage of that API with PCI for example.
Not any dynamic device registration. But here, it actually AIN'T dynamic - it is fully static, just board dependent.
Perhaps this is just bike-shedding over naming?
No.
So that all of the following cases could call that:
- DT parsing.
- PCI device enumeration.
- ODMDATA parsing.
NAK. This is totally wrong. ODMDATA is just a different representation of information that could as well be encoded in a DT. PCI or USB bus scanning gives information which cannot be encoded in a DT passed to U-Boot (at least not unless you dynamically generate that DT using some other softeware performing such a bus scan).
Best regards,
Wolfgang Denk