summaryrefslogtreecommitdiff
path: root/arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c
diff options
context:
space:
mode:
authorJernej Skrabec <jernej.skrabec@gmail.com>2025-03-09 07:31:43 +0100
committerAndre Przywara <andre.przywara@arm.com>2025-03-27 00:26:35 +0000
commit380802938673c6c82b776a33eda6d57eba7ca914 (patch)
tree6353685a9e6f768cf9ddb8b5d2aee76a67b288ce /arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c
parent40c687aef01fd0ccdf24285f577db1bc0d64db16 (diff)
sunxi: H616: dram: Improve address wrapping detection
It turns out that checking just one write is not enough. Due to unexplained reasons scan procedure detected double the size. By making 16 dword writes and comparisons that never happens. New procedure is also inverted. Instead of writing two different values to base address and some offset and then reading both and comparing values, simplify this by writing pattern at the base address and then search for this pattern at some offset. Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com> Tested-by: Ryan Walklin <ryan@testtoast.com> Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c')
0 files changed, 0 insertions, 0 deletions