[PATCH] mmc: sdhci: Correct ADMA_DESC_LEN to 12

Tom Rini trini at konsulko.com
Thu May 2 19:50:25 CEST 2024


On Wed, May 01, 2024 at 08:53:04PM +0200, A. Sverdlin wrote:

> From: Alexander Sverdlin <alexander.sverdlin at siemens.com>
> 
> Commit 37cb626da25d0d ("mmc: sdhci: Add Support for ADMA2") introduced
> ADMA_DESC_LEN == 16 (64 bit case), but it was never used before commit
> 74755c1fed1b0 ("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: 74755c1fed1b0 ("mmc: sdhci: introduce adma_write_desc() hook to struct sdhci_ops")
> Signed-off-by: Alexander Sverdlin <alexander.sverdlin at siemens.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20240502/d16efbba/attachment.sig>


More information about the U-Boot mailing list