Skip to content

ARM: at91: sama7g5: Reset external devices at software reset

Tudor Ambarus u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2configs: Convert AT91RESET_EXTRST to Kconfigarch/arm/mach-at91/Kconfig+3 -00 replies
2/2ARM: at91: sama7g5: Reset external devices at software resetarch/arm/mach-at91/Kconfig+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(+)
Signature · 1 line
2.25.1