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:
5092158
)
spi: fsl_qspi: fix an error of using GENMASK
author
Gong Qianyu
<Qianyu.Gong@freescale.com>
Mon, 14 Dec 2015 10:26:25 +0000
(18:26 +0800)
committer
Jagan Teki
<jteki@openedev.com>
Thu, 7 Jan 2016 14:59:33 +0000
(20:29 +0530)
This commit fixes the change of below commit
"spi: fsl_qspi: Use GENMASK"
(sha1 :
bad490a24212c068c5b718b9189f47ea4075d078
)
Signed-off-by: Gong Qianyu <Qianyu.Gong@freescale.com>
Reviewed-by: Jagan Teki <jteki@openedev.com>
drivers/spi/fsl_qspi.c
patch
|
blob
|
history
diff --git
a/drivers/spi/fsl_qspi.c
b/drivers/spi/fsl_qspi.c
index feec3e80b6aeb0a05ff69c1fb8c0b206aa54b930..542b6cfe355b3e3212f7cb59d5c49792e1333e4c 100644
(file)
--- a/
drivers/spi/fsl_qspi.c
+++ b/
drivers/spi/fsl_qspi.c
@@
-25,7
+25,7
@@
DECLARE_GLOBAL_DATA_PTR;
#define TX_BUFFER_SIZE 0x40
#endif
-#define OFFSET_BITS_MASK GENMASK(2
4
, 0)
+#define OFFSET_BITS_MASK GENMASK(2
3
, 0)
#define FLASH_STATUS_WEL 0x02