On 2017-09-05 06:45, Fabio Estevam wrote: > Hi Stefano, > > On Tue, Sep 5, 2017 at 8:16 AM, Stefano Babic <sba...@denx.de> wrote: > >> Maybe we get some further info from our "insider" (Fabio, Peng). It will >> be very interesting to know if we can apply this to all spectrum from >> i.MX6, or if there is some MX6 variant where the Bootrom is doing >> something different. > > Looking at NXP U-Boot code I see that this same mechanism applies not > only to mx6, but it extends to mx7 and mx7ulp, so it seems like a good > approach.
i.MX 7 has a Boot Information structure which is passed from the Boot ROM, so we have a much cleaner method there. http://git.denx.de/?p=u-boot/u-boot-imx.git;a=blob;f=arch/arm/mach-imx/mx7/soc.c;h=87bf105f385d4c12bee6d038c0ba50e2e588124c;hb=HEAD#l392 As far as I can tell this boot information structure is also accurate when the Boot ROM entered serial downloader as a fallback. Do we have boards using SPL on i.MX 7? -- Stefan _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot