
On 2017-09-05 09:18, Fabio Estevam wrote:
On Tue, Sep 5, 2017 at 1:05 PM, Stefan Agner stefan@agner.ch wrote:
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/s...
As far as I can tell this boot information structure is also accurate when the Boot ROM entered serial downloader as a fallback.
What I meant is that the is_boot_from_usb() macro is also defined for MX7 and MX7ULP:
http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/tree/arch/arm/includ...
http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/tree/arch/arm/includ...
Yes, I understand.
I am just saying, I don't see a point to use that macro over i.MX 7's Boot Information structure...
Do we have boards using SPL on i.MX 7?
No, we don't have it currently.
Ok.
-- Stefan