]> git.dujemihanovic.xyz Git - u-boot.git/commit
ram: stm32mp1: tuning: deactivate derating during BIST test
authorPatrick Delaunay <patrick.delaunay@st.com>
Fri, 6 Mar 2020 10:14:07 +0000 (11:14 +0100)
committerPatrick Delaunay <patrick.delaunay@st.com>
Tue, 24 Mar 2020 13:20:50 +0000 (14:20 +0100)
commit27e7b4edeabe87be1cb9dc549b2f7d91c1f3e3a7
treea87c6a53f1a595d01189520e06574c4f839f1ef4
parentf711d1f0804e01586b8f68af81cde6a15b58d427
ram: stm32mp1: tuning: deactivate derating during BIST test

The derating (timing parameter derating using MR4 read value)
can't be activated during BIST test, as the MR4 read answer will
be not understood by BIST (BISTGSR.BDONE bit stay at 0,
BISTWCSR.DXWCNT = 0x206 instead of BISTWCR.BWCNT = 0x200).

This patch only impacts the tuning on LPDDR2/LPDDR3,
if derateen.derate_enable = 1.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
drivers/ram/stm32mp1/stm32mp1_tuning.c