Skip to content
Snippets Groups Projects
Commit bad490a2 authored by Jagan Teki's avatar Jagan Teki
Browse files

spi: fsl_qspi: Use GENMASK


Replace numeric mask hexcodes with GENMASK macro
in fsl_qspi

Cc: York Sun <yorksun@freescale.com>
Cc: Haikun Wang <Haikun.Wang@freescale.com>
Signed-off-by: default avatarJagan Teki <jteki@openedev.com>
parent 95e77d90
Branches
Tags
No related merge requests found
...@@ -24,7 +24,7 @@ DECLARE_GLOBAL_DATA_PTR; ...@@ -24,7 +24,7 @@ DECLARE_GLOBAL_DATA_PTR;
#define TX_BUFFER_SIZE 0x40 #define TX_BUFFER_SIZE 0x40
#endif #endif
#define OFFSET_BITS_MASK 0x00ffffff #define OFFSET_BITS_MASK GENMASK(24, 0)
#define FLASH_STATUS_WEL 0x02 #define FLASH_STATUS_WEL 0x02
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment