]> git.dujemihanovic.xyz Git - u-boot.git/commit
stm32mp1: ram: fix address issue in 2 tests
authorPatrick Delaunay <patrick.delaunay@st.com>
Tue, 30 Jul 2019 17:16:49 +0000 (19:16 +0200)
committerPatrice Chotard <patrice.chotard@st.com>
Tue, 27 Aug 2019 09:19:23 +0000 (11:19 +0200)
commit4b0496fe79a749b151126f38ceaccef4911aa504
tree55349dc4bf216b73a5e225061e6a990c922fc3d0
parent375c28ac764c5595cd158c13f6dc158033984df9
stm32mp1: ram: fix address issue in 2 tests

If user choose to test memory size is 1GByte (0x40000000),
memory address would overflow in test "Random" and
test "FrequencySelectivePattern".
Thus the system would hangs up when running DDR test.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Signed-off-by: Bossen WU <bossen.wu@st.com>
drivers/ram/stm32mp1/stm32mp1_tests.c