[PATCH 0/2] ARM: at91: sama7g5: Reset external devices at software reset

Eugen.Hristev at microchip.com Eugen.Hristev at microchip.com
Fri Mar 11 10:51:36 CET 2022


On 2/25/22 10:13 AM, Tudor Ambarus wrote:
> This fixes the following:
> => sf probe
> SF: Detected mx66lm1g45g with page size 256 Bytes, erase size 4 KiB, total 128 MiB
> => reset
> resetting ...
> RomBOOT
> 
> What happened is that in u-boot the mx66lm1g45g NOR flash enters in Octal
> DTR mode. The user reset calls do_reset() method which does not call any
> driver's remove method, but merely resets the CPU. The flash remains in
> Octal DTR mode and RomCode can't recognize it, thus the boot will fail.
> More details in the commit messages.
> 
> Tested after software reset the mx66lm1g45g NOR flash, but also GMAC0/1,
> all went fine.
> 
> Tudor Ambarus (2):
>    configs: Convert AT91RESET_EXTRST to Kconfig
>    ARM: at91: sama7g5: Reset external devices at software reset
> 
>   arch/arm/mach-at91/Kconfig | 4 ++++
>   1 file changed, 4 insertions(+)
> 


Applied to u-boot-at91/next , thanks !


More information about the U-Boot mailing list