On 31/08/2017 00:13, Eric Nelson wrote: > This adds support for two additional boot modes on the i.MX7D SoC, which > is most useful when doing U-Boot development on this chip. > > 1. "bmode usb" can be used to force the ROM boot loader's serial > 2. "bmode normal" can be used to revert to the normal boot mode > as specified by fuses and BOOT_MODE pins > > Signed-off-by: Eric Nelson <e...@nelint.com> > --- > V2 adds "normal" mode as suggested by Troy Kisky > arch/arm/mach-imx/mx7/soc.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/arch/arm/mach-imx/mx7/soc.c b/arch/arm/mach-imx/mx7/soc.c > index 87bf105..15be42a 100644 > --- a/arch/arm/mach-imx/mx7/soc.c > +++ b/arch/arm/mach-imx/mx7/soc.c > @@ -372,6 +372,9 @@ void set_wdog_reset(struct wdog_regs *wdog) > * to SBMR1, which will determine the boot device. > */ > const struct boot_mode soc_boot_modes[] = { > + {"normal", MAKE_CFGVAL(0x00, 0x00, 0x00, 0x00)}, > + {"usb", MAKE_CFGVAL(0x01, 0x00, 0x00, 0x00)}, > + > {"ecspi1:0", MAKE_CFGVAL(0x00, 0x60, 0x00, 0x00)}, > {"ecspi1:1", MAKE_CFGVAL(0x40, 0x62, 0x00, 0x00)}, > {"ecspi1:2", MAKE_CFGVAL(0x80, 0x64, 0x00, 0x00)}, >
Sorry, it was for a long time in the queue - discussion in thread is spreading away from the original review (I had errouneosly set it to Changes requested). Applied to u-boot-imx, -master, thanks ! Best regards, Stefano -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sba...@denx.de ===================================================================== _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot