Skip to content
Commit c92d48f8 authored by Alexander Sverdlin's avatar Alexander Sverdlin Committed by Tom Rini
Browse files

mmc: sdhci: Correct ADMA_DESC_LEN to 12



Commit 37cb626d ("mmc: sdhci: Add Support for ADMA2") introduced
ADMA_DESC_LEN == 16 (64 bit case), but it was never used before commit
74755c1f ("mmc: sdhci: introduce adma_write_desc() hook to struct sdhci_ops").

"sizeof(struct sdhci_adma_desc)" (== 12 for 64bit case) was used instead.

Confusion probably originates from Linux commit 685e444bbaa0
("mmc: sdhci: Add ADMA2 64-bit addressing support for V4 mode"), but
the latter "V4 mode" was never ported to U-Boot.

Fixes: 74755c1f ("mmc: sdhci: introduce adma_write_desc() hook to struct sdhci_ops")
Signed-off-by: default avatarAlexander Sverdlin <alexander.sverdlin@siemens.com>
Tested-by: default avatarJonathan Humphreys <j-humphreys@ti.com>
Tested-by: default avatarJudith Mendez <jm@ti.com>
parent 62825d48
Loading
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment