Hi Sekhar,
SoCs that need ioremap() to fill up davinci_soc_info may directly call
davinci_io_init() and use ioremap() as needed. Such SoCs must not fill
io_desc and io_desc_num entries in struct davinci_soc_info.
So, this patch should probably remove these entries for da850/da830
instead of letting your twice init protection logic to kick in.
I am wondering if it will be more intuitive to pluck davinci_io_init()
out of davinci_common_init() altogether. I think this is also what
Kevin had suggested previously.
I am open to either approach. My approach so far was that the default
case (i.e., SoCs that don't need to ioremap() early) should simply
operate as before.
Regards
Cyril.
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source