mmc: arm_pl180_mmci: Enable HWFC for specific versions of MCI
authorUsama Arif <usama.arif@arm.com>
Tue, 19 Oct 2021 14:49:48 +0000 (15:49 +0100)
committerJaehoon Chung <jh80.chung@samsung.com>
Fri, 29 Oct 2021 09:22:32 +0000 (18:22 +0900)
commitc95b0297e95613fc68b1d92118ee64720d142f8c
tree9d1b3a9dddc72198f5f823135d60bed7b358faf3
parent44645f87de513468a8c8082d057704df0495d7a4
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>
drivers/mmc/arm_pl180_mmci.c
drivers/mmc/arm_pl180_mmci.h