]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: dw_mmc: fix the wrong Mask bit boundary for fifo_count bit
authorJaehoon Chung <jh80.chung@samsung.com>
Thu, 28 Jul 2016 05:26:24 +0000 (14:26 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Fri, 5 Aug 2016 05:04:46 +0000 (14:04 +0900)
commit4587f53a582c9ab0bd908cff590755bfc03fced4
tree743be1bd9d114a24d5676f3c4204475955c2f1ec
parent720724d09852858a3938f7bfcbbb3d1a0fdd6b4c
mmc: dw_mmc: fix the wrong Mask bit boundary for fifo_count bit

According to DesignWare TRM, FIFO_COUNT is bit[29:17].
If get the correct fifo_count value, it has to  use the FIFO_MASK
as 0x1FFF, not 0x1FF.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Reviewed-by: Ziyuan Xu <xzy.xu@rock-chips.com>
include/dwmmc.h