[PATCH v2] mmc: Remove alignment hole for cmdidx in struct mmc_cmd

Tom Rini trini at konsulko.com
Mon Jan 27 00:58:48 CET 2025


On Sat, 27 Jan 2024 16:29:21 +0000, Jonas Karlman wrote:

> The alignment hole caused by cmdidx in struct mmc_cmd cause strange
> issues together with the peephole2 optimization on Amlogic SoCs.
> Following was observed while working on SPL support for Amlogic SoCs.
> 
> sd_get_capabilities() normally issue a CMD55 followed by a CMD51.
> However, on at least Amlogic S905 (Cortex-A53) and S905X3 (Cortex-A55),
> CMD55 was instead followed by CMD8 (and a few reties) in SPL.
> 
> [...]

Applied to u-boot/master, thanks!

-- 
Tom




More information about the U-Boot mailing list