On Mon, Apr 23, 2007 at 02:42:40PM -0700, ron minnich wrote:
OK, so:
- cmos options should be defined in the DTS. I see a node with the
name boot parameters or some such, and then in the node, there are nodes and properties, e..g
boot-parameters { console-baud { default=115200, choices={9600, 19200, etc.}} something=true (use of true or false defines this as a 1/0 choice) }
and so on, is this reasonable?
Yes!
But we will need to have dts tree parsing happening as part of make config; is this ok too?
I think so, it makes the obj-files-from-dts problem a lot simpler as well.
I don't know what would be most practical however;
* Generate Kconfig.dts * Teach Kconfig dts or dtb with hooks for select:ing based on dt[bs]
Perhaps start with generating includes..
//Peter