projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
720724d
)
mmc: dw_mmc: fix the wrong Mask bit boundary for fifo_count bit
author
Jaehoon Chung
<jh80.chung@samsung.com>
Thu, 28 Jul 2016 05:26:24 +0000
(14:26 +0900)
committer
Jaehoon Chung
<jh80.chung@samsung.com>
Fri, 5 Aug 2016 05:04:46 +0000
(14:04 +0900)
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
patch
|
blob
|
history
diff --git
a/include/dwmmc.h
b/include/dwmmc.h
index d18ec8463b672ef08bd1c0807c158d2d6d838980..5b9602cd05c4a627c16513c3721c8bb492dea731 100644
(file)
--- a/
include/dwmmc.h
+++ b/
include/dwmmc.h
@@
-105,7
+105,7
@@
/* Status Register */
#define DWMCI_BUSY (1 << 9)
-#define DWMCI_FIFO_MASK 0x1ff
+#define DWMCI_FIFO_MASK 0x1ff
f
#define DWMCI_FIFO_SHIFT 17
/* FIFOTH Register */