mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-07-07 15:01:59 +00:00
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: Jagan Teki <jteki@openedev.com>
This commit is contained in:
parent
95e77d904e
commit
bad490a242
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ DECLARE_GLOBAL_DATA_PTR;
|
|||
#define TX_BUFFER_SIZE 0x40
|
||||
#endif
|
||||
|
||||
#define OFFSET_BITS_MASK 0x00ffffff
|
||||
#define OFFSET_BITS_MASK GENMASK(24, 0)
|
||||
|
||||
#define FLASH_STATUS_WEL 0x02
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue