[U-Boot] [RFC PATCH 0/3] ARM: imx: mx6: Add plugin support for SPL

Fabio Estevam festevam at gmail.com
Fri Jan 27 15:56:08 CET 2017


Hi Tim,

On Fri, Jan 20, 2017 at 3:40 PM, Tim Harvey <tharvey at gateworks.com> wrote:

> The SRC_SBMR register reflects the BOOT MODE pins of the chip
> (strapping) but the reference manual defines SRC_GPR9 and
> SRC_GPR10[28] as reserved and I don't recall the reasoning for using
> these for the boot mode. Can you provide some documentation that we
> can put in the code? I'm thinking there is something else missing from
> this function that should be able to determine that the serial
> downloader was used in my case and return BOOT_DEVICE_UART
> appropriately.

I could also not found any documentation about SRC_GPR9 and SRC_GPR10[28].

I also find it confusing that we use such undocumented registers in
U-Boot for determining the boot mode.


More information about the U-Boot mailing list