
27 Jan
2017
27 Jan
'17
3:56 p.m.
Hi Tim,
On Fri, Jan 20, 2017 at 3:40 PM, Tim Harvey tharvey@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.