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:
@@ -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
|
||||
|
Reference in New Issue
Block a user