mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-15 19:51:37 +00:00
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>
This commit is contained in:
parent
720724d098
commit
4587f53a58
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@
|
|||
|
||||
/* Status Register */
|
||||
#define DWMCI_BUSY (1 << 9)
|
||||
#define DWMCI_FIFO_MASK 0x1ff
|
||||
#define DWMCI_FIFO_MASK 0x1fff
|
||||
#define DWMCI_FIFO_SHIFT 17
|
||||
|
||||
/* FIFOTH Register */
|
||||
|
|
Loading…
Add table
Reference in a new issue