Add some missing field defines in SPI FLASH related register
authorPiotr Dymacz <pepe2k@gmail.com>
Mon, 14 Dec 2015 12:07:50 +0000 (13:07 +0100)
committerPiotr Dymacz <pepe2k@gmail.com>
Mon, 14 Dec 2015 12:07:50 +0000 (13:07 +0100)
u-boot/include/soc/qca_soc_common.h

index 233c7a7af05332cdd3f619963a15ba1ecd82e1cc..07afd29968ed7a19b095476394193ee62d67a8f3 100644 (file)
 #define QCA_SPI_CTRL_CLK_DIV_MASK                      BITS(QCA_SPI_CTRL_CLK_DIV_SHIFT, 6)
 #define QCA_SPI_CTRL_REMAP_DIS_SHIFT           6
 #define QCA_SPI_CTRL_REMAP_DIS_MASK                    (1 << QCA_SPI_CTRL_REMAP_DIS_SHIFT)
+#define QCA_SPI_CTRL_SPI_RELOCATE_SHIFT                7
+#define QCA_SPI_CTRL_SPI_RELOCATE_MASK         (1 << QCA_SPI_CTRL_SPI_RELOCATE_SHIFT)
+#define QCA_SPI_CTRL_TSHSL_CNT_SHIFT           8
+#define QCA_SPI_CTRL_TSHSL_CNT_MASK                    BITS(QCA_SPI_CTRL_TSHSL_CNT_SHIFT, 6)
 
 /* SPI_IO_CONTROL register (SPI I/O control) */
 #define QCA_SPI_IO_CTRL_IO_DO_SHIFT                    0