mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-26 14:40:41 +00:00
1a5be5a416
Add protection on minimum value for result of get_bufsize and check the alignment of buffer size: only multiple min_size is allowed; only 4 bytes alignment was checked previously (value & 0x3). For example the "Random" test raises an issue when size is not 8 bytes aligned because address for buffer = address + size / 2 is not word aligned. This patch avoid test error for unsupported size value. Reviewed-by: Patrice Chotard <patrice.chotard@st.com> Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
stm32mp1_ddr.c | ||
stm32mp1_ddr.h | ||
stm32mp1_ddr_regs.h | ||
stm32mp1_interactive.c | ||
stm32mp1_ram.c | ||
stm32mp1_tests.c | ||
stm32mp1_tests.h | ||
stm32mp1_tuning.c |