Add some bootstrap register related defines in common QC/A header
authorPiotr Dymacz <pepe2k@gmail.com>
Thu, 10 Mar 2016 17:19:08 +0000 (18:19 +0100)
committerPiotr Dymacz <pepe2k@gmail.com>
Thu, 10 Mar 2016 17:19:08 +0000 (18:19 +0100)
u-boot/include/soc/qca_soc_common.h

index e75d81044608917a493c401fbd55eb26b04c1f25..204f720d749424425db4dcab1863307573e1e348 100644 (file)
        #define QCA_RST_BOOTSTRAP_MEM_TYPE_SDR_VAL              3
        #define QCA_RST_BOOTSTRAP_MEM_TYPE_DDR1_VAL             1
        #define QCA_RST_BOOTSTRAP_MEM_TYPE_DDR2_VAL             0
+
+       #define QCA_RST_BOOTSTRAP_BOOT_SEL_SHIFT                2
+       #define QCA_RST_BOOTSTRAP_BOOT_SEL_MASK                 (1 << QCA_RST_BOOTSTRAP_BOOT_SEL_SHIFT)
+       #define QCA_RST_BOOTSTRAP_DDR_WIDTH_32_SHIFT    3
+       #define QCA_RST_BOOTSTRAP_DDR_WIDTH_32_MASK             (1 << QCA_RST_BOOTSTRAP_DDR_WIDTH_32_SHIFT)
+       #define QCA_RST_BOOTSTRAP_JTAG_MODE_SHIFT               5
+       #define QCA_RST_BOOTSTRAP_JTAG_MODE_MASK                (1 << QCA_RST_BOOTSTRAP_JTAG_MODE_SHIFT)
 #endif
 
 /* RST_RESET */