
16 May
2013
16 May
'13
8:54 p.m.
"Tom" == Tom Rini trini@ti.com writes:
Hi,
Perhaps the nand handling should just get moved out of gpmc_init() (or the _cs_config args should be passed to gpmc_init() ).
Tom> I looked at this, on the scale of redoing omap3 too (where we have a lot Tom> of existing examples). The split we've got now works and it's harmless Tom> to re-configure CS0 in the case where the defaults don't work. I think Tom> this would lead us to an abstraction that leads to a lot of board files Tom> duplicating the same code.
Maybe the solution is simply to have:
init_gpmc_nand() and init_gpmc_nor()
?
--
Bye, Peter Korsgaard