summaryrefslogtreecommitdiff
path: root/include/stdio_dev.h
diff options
context:
space:
mode:
authorBhupesh Sharma <[email protected]>2024-09-30 14:44:32 +0200
committerNeil Armstrong <[email protected]>2024-10-14 08:55:28 +0200
commit5ce1a2c7de4936d19cbc0307be734aed9f8056a4 (patch)
tree64ffc1281577db82f0359d8e96d3eba1d15f8614 /include/stdio_dev.h
parent00c54af3addfc1475525396ec707c0c799010197 (diff)
ufs: Add missing memory barriers
Add missing wmb() and mb() barriers in the u-boot UFS core framework driver to allow registers updates to happen before follow-up read operations. This makes the barrier placement similar to the Linux UFS driver, synced from the Linux v6.9 release. Starting from the v6.10 release, the barriers were replaced with a register read-back in [1], this will ported to u-boot in a second time. [1] https://lore.kernel.org/all/20240329-ufs-reset-ensure-effect-before-delay-v5-0-181252004586@redhat.com/ Signed-off-by: Bhupesh Sharma <[email protected]> Tested-by: Venkatesh Yadav Abbarapu <[email protected]> Tested-by: Julius Lehmann <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Neil Armstrong <[email protected]>
Diffstat (limited to 'include/stdio_dev.h')
0 files changed, 0 insertions, 0 deletions