summaryrefslogtreecommitdiff
path: root/drivers/ddr/imx/phy
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 /drivers/ddr/imx/phy
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 'drivers/ddr/imx/phy')
0 files changed, 0 insertions, 0 deletions