diff options
author | Jagan Teki <jteki@openedev.com> | 2015-10-22 15:36:37 (GMT) |
---|---|---|
committer | Jagan Teki <jteki@openedev.com> | 2015-10-27 17:49:15 (GMT) |
commit | 9cf2ffb3c3721c28f8d6473df0fa8693f5bead7d (patch) | |
tree | 5774b8c3639571c8bf93bda3d7c8fe2f7fb864e6 /drivers/spi/ich.h | |
parent | 736b4df15d603325f97663a7a4f26f7abf454dcf (diff) | |
download | u-boot-fsl-qoriq-9cf2ffb3c3721c28f8d6473df0fa8693f5bead7d.tar.xz |
spi: zynq_[q]spi: Use GENMASK macro
GENMASK macro used on zynq_spi.c and zynq_qspi.c
GENMASK is used to create a contiguous bitmask([hi:lo]).
Ex: (0x7 << 3) => GENMASK(5, 3)
Cc: Michal Simek <michal.simek@xilinx.com>
Acked-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Jagan Teki <jteki@openedev.com>
Diffstat (limited to 'drivers/spi/ich.h')
0 files changed, 0 insertions, 0 deletions