1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-08-31 16:22:36 +02:00

mmc: sunxi: Fix DMA transfers on MMC2 (typically eMMC) on H6

The same problem as with A64.

Signed-off-by: Ondrej Jirman <megous@megous.com>
This commit is contained in:
Ondrej Jirman
2020-01-15 16:03:48 +01:00
parent f9fc136704
commit 5d8cab9a73

View File

@@ -29,7 +29,7 @@
#define DMA_CONFIG_ERROR BIT(30) // flag: out: error happened
#define DMA_CONFIG_HOLD BIT(31) // flag: desc owned by IDMAC (set to 1)
#if defined(CONFIG_MACH_SUN50I)
#if defined(CONFIG_MACH_SUN50I) || defined(CONFIG_MACH_SUN50I_H6)
// mmc2 on A64 only allows for 8k
#define DMA_BUF_MAX_SIZE (1 << 13)
#else