Files
Yann Gautier f7889b3365 fix(mmc): align sd_switch_func_status struct
When enabling LTO on STM32MP2 platform with DEBUG flag, there is an
assert in stm32_sdmmc2_read() during SD switch procedure, as the buffer
used to read the data is not 4 bytes aligned. To correct that, add an
alignment of the struct sd_switch_func_status. Use a 16 bytes alignment
to be in line with the other constraints with DMA (see patches that add
the __aligned(16) on scr and mmc_ext_csd).

Change-Id: I5d715753f6b7a2fa35648d05be9f1c9737609007
Signed-off-by: Yann Gautier <yann.gautier@st.com>
2026-02-03 09:07:35 +01:00
..