diff options
author | Bryan Brattlof <bb@ti.com> | 2023-07-17 17:15:26 -0500 |
---|---|---|
committer | Praneeth Bajjuri <praneeth@ti.com> | 2023-11-28 11:36:12 -0600 |
commit | 77053f97e011df8fa2d3f098f43bda3c2d7facd6 (patch) | |
tree | 9bdd5e3b6561dc021ae3863c441bc28f06ab05be /arch/arm/mach-k3/common.h | |
parent | 71b8c840ca61a4e11b2cdf63b0e6580ecb427912 (diff) |
ram: k3-ddrss: do not touch ctrl regs during training
commit af7c33c103450e06aecf8adba8cbc8c522295be1 upstream.
During LPDDR initialization we will loop through a series of frequency
changes in order to train at the various operating frequencies. During
this training, accessing the DRAM_CLASS bitfield could happen during a
frequency change and cause the read to hang.
Store the DRAM type into the main structure to avoid multiple readings
while the independent phy is training.
Signed-off-by: Bryan Brattlof <bb@ti.com>
[praneeth@ti.com: cherrypick from v2023.10]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Diffstat (limited to 'arch/arm/mach-k3/common.h')
0 files changed, 0 insertions, 0 deletions