Hi Jagan, On 2 April 2018 at 12:57, Jagan Teki <jagannadh.t...@gmail.com> wrote: > > On Fri, Mar 30, 2018 at 4:13 AM, Simon Glass <s...@google.com> wrote: > > Hi Jagan, > > > > On 28 March 2018 at 02:04, Jagan Teki <jagannadh.t...@gmail.com> wrote: > >> On Mon, Sep 4, 2017 at 9:57 PM, <s...@google.com> wrote: > >>> Hi Tom, > >>> > >>> On 7 August 2017 at 09:39, Tom Rini <tr...@konsulko.com> wrote: > >>>> On Sat, Aug 05, 2017 at 03:45:53PM -0600, Simon Glass wrote: > >>>> > >>>>> The CONFIG_BLK conversion involves quite invasive changes in the U-Boot > >>>>> code, with #ifdefs and different code paths. We should try to move over > >>>>> to > >>>>> this soon so we can drop the old code. > >> > >> I hope this will applicable to SPL too? > >> > >> If so, we are having SPL size issues with few Allwinner families, if > >> enable SPL_DM any suggestions? > > > > I don't think we can require BLK for SPL / TPL, or even DM for that > > matter. We should use it when size permits. > > But we can still maintain non-dm code in driver with #ifdef right? > indeed migration plan is to remove that.
I think for drivers that have to work with SPL and cannot use DM due to code size, we have to provide a way. But I think over time, this will fade out, as SoCs have more SRAM. Also with CONFIG_OF_PLATDATA the penalty is very small. Regards, Simon _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot