diff options
author | Usama Arif <usama.arif@arm.com> | 2021-10-19 15:49:48 +0100 |
---|---|---|
committer | Jaehoon Chung <jh80.chung@samsung.com> | 2021-10-29 18:22:32 +0900 |
commit | c95b0297e95613fc68b1d92118ee64720d142f8c (patch) | |
tree | 9d1b3a9dddc72198f5f823135d60bed7b358faf3 /drivers/mmc/arm_pl180_mmci.h | |
parent | 44645f87de513468a8c8082d057704df0495d7a4 (diff) | |
download | u-boot-c95b0297e95613fc68b1d92118ee64720d142f8c.tar.gz u-boot-c95b0297e95613fc68b1d92118ee64720d142f8c.tar.bz2 u-boot-c95b0297e95613fc68b1d92118ee64720d142f8c.zip |
mmc: arm_pl180_mmci: Enable HWFC for specific versions of MCI
There are 4 registers (PERIPHID{0-3}) that contain the ID of MCI.
For MMCs' with peripheral id 0x02041180 and 0x03041180, H/W flow control
needs to be enabled for multi block writes (MMC CMD 18).
Signed-off-by: Usama Arif <usama.arif@arm.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Diffstat (limited to 'drivers/mmc/arm_pl180_mmci.h')
-rw-r--r-- | drivers/mmc/arm_pl180_mmci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/arm_pl180_mmci.h b/drivers/mmc/arm_pl180_mmci.h index 15c29beadb..fca15910a8 100644 --- a/drivers/mmc/arm_pl180_mmci.h +++ b/drivers/mmc/arm_pl180_mmci.h @@ -43,6 +43,7 @@ #define SDI_CLKCR_CLKEN 0x00000100 #define SDI_CLKCR_PWRSAV 0x00000200 #define SDI_CLKCR_BYPASS 0x00000400 +#define SDI_CLKCR_HWFCEN 0x00001000 #define SDI_CLKCR_WIDBUS_MASK 0x00001800 #define SDI_CLKCR_WIDBUS_1 0x00000000 #define SDI_CLKCR_WIDBUS_4 0x00000800 |