diff -drupN a/drivers/mmc/host/sunxi-mmc-sun50iw1p1-0.h b/drivers/mmc/host/sunxi-mmc-sun50iw1p1-0.h --- a/drivers/mmc/host/sunxi-mmc-sun50iw1p1-0.h 1970-01-01 03:00:00.000000000 +0300 +++ b/drivers/mmc/host/sunxi-mmc-sun50iw1p1-0.h 2022-06-12 05:28:14.000000000 +0300 @@ -0,0 +1,40 @@ +/* +* Sunxi SD/MMC host driver +* +* Copyright (C) 2015 AllWinnertech Ltd. +* Author: lixiang +* +* This program is free software; you can redistribute it and/or modify +* it under the terms of the GNU General Public License version 2 as +* published by the Free Software Foundation. +* +* This program is distributed "as is" WITHOUT ANY WARRANTY of any +* kind, whether express or implied; without even the implied warranty +* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +*/ + +#ifdef CONFIG_ARCH_SUN50IW1P1 + +#ifndef __SUNXI_MMC_SUN50IW1P1_0_H__ +#define __SUNXI_MMC_SUN50IW1P1_0_H__ + +#define SUNXI_SDMMC0 + +/*dma triger level setting*/ +#define SUNXI_DMA_TL_SDMMC0 ((0x2<<28)|(7<<16)|248) +/*one dma des can transfer data size = 1<