summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorPaul Kocialkowski <[email protected]>2026-01-29 00:57:16 +0100
committerAndre Przywara <[email protected]>2026-03-17 23:27:24 +0100
commit3d769809474cfb9534c317d9a6a0a8ef51a47181 (patch)
treeffb112d8c668bd05fafd807f91f8605d58e829f0 /include/linux
parent256557dd9aae376afcc3c3bc23cd739f427e9dc7 (diff)
sunxi: a133: dram: Fix PHY dx delays offsets and add dmb
Some of the offsets for the DRAM PHY dx delays are wrong (as compared to the H616 code and the reference binary) since the mctl_phy_dx_delay0_inner function does not perform the correct calculation for some of them. Introduce a mctl_phy_dx_delay0_inner0 to fix the incorrect offsets and rename the existing function to mctl_phy_dx_delay0_inner1 for the offsets it correctly handles. Also add memory barriers that are also present in the H616 code while at it. This fixes detection of 4 GiB DRAM on some boards using LPDDR4. Signed-off-by: Paul Kocialkowski <[email protected]> Sponsored-by: MEC Electronics GmbH <https://www.mec.at/> Acked-by: Jernej Skrabec <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions