
On 07/12/2011 17:00, Tom Rini wrote:
On Wed, Dec 7, 2011 at 8:39 AM, Stefano Babic sbabic@denx.de wrote: [snip]
The function you write are in omap-common/spl_nand.c, but they are not specific for OMAP, and any architecture can profit from your work. What about to move common functions away from TI related directory ? I do not know which is the best place, maybe a new directory under the root as spllib ?
There's a lot of thinking and reworking we should do for the SPL code we have today under arch/arm, both in terms of sharing between davinci and OMAP(ish) and non-TI parts. My question is, for non-TI stuff, is anyone using or about to start using this framework?
I am still using with TI, but my goal is to have it available for the IMX SOCs, too. Some of them boot with old spl code (MX3x), and some of them (MX5 and in future MX6) need it and it would be nice to reuse the code.
Stefano