summaryrefslogtreecommitdiff
path: root/drivers/spi/fsl_qspi.c
diff options
context:
space:
mode:
authorGong Qianyu <Qianyu.Gong@freescale.com>2015-12-14 18:26:25 +0800
committerJagan Teki <jteki@openedev.com>2016-01-07 20:29:33 +0530
commit8770413f380d07439bc9ad60c6b4d108d5a9adf0 (patch)
treefaefea245ef718dc0b3030c47e2282fd021824ae /drivers/spi/fsl_qspi.c
parent509215835944eb7ebd4b690d3f1b8fec7d78991d (diff)
downloadu-boot-imx-8770413f380d07439bc9ad60c6b4d108d5a9adf0.zip
u-boot-imx-8770413f380d07439bc9ad60c6b4d108d5a9adf0.tar.gz
u-boot-imx-8770413f380d07439bc9ad60c6b4d108d5a9adf0.tar.bz2
spi: fsl_qspi: fix an error of using GENMASK
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>
Diffstat (limited to 'drivers/spi/fsl_qspi.c')
-rw-r--r--drivers/spi/fsl_qspi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/fsl_qspi.c b/drivers/spi/fsl_qspi.c
index feec3e8..542b6cf 100644
--- 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(24, 0)
+#define OFFSET_BITS_MASK GENMASK(23, 0)
#define FLASH_STATUS_WEL 0x02