[U-Boot] [PATCH v2 6/7] am335x_evm: Add support for the NOR module on the memory cape

Peter Korsgaard jacmet at sunsite.dk
Thu May 16 20:54:09 CEST 2013


>>>>> "Tom" == Tom Rini <trini at 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


More information about the U-Boot mailing list