+Mugunthan, Tom On 17 January 2016 at 03:56, Christophe Ricard <christophe.ric...@gmail.com> wrote: > Convert omap3_spi driver to DM and keep compatibility with previous > mode. > > Signed-off-by: Christophe Ricard <christophe-h.ric...@st.com> > --- > > drivers/spi/Kconfig | 6 + > drivers/spi/omap3_spi.c | 439 > ++++++++++++++++++++++++++++++++++++++++++------ > drivers/spi/omap3_spi.h | 14 +- > 3 files changed, 402 insertions(+), 57 deletions(-)
This is a pretty painful conversion, with lots of #ifdefs. I think it would be possible to use a common pointer type and reduce this. But perhaps it does not matter - how long must we be in the state of supporting legacy SPI? Can we convert all TI boards to driver model? Regards, Simon _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot