From: Piotr Dymacz Date: Thu, 10 Mar 2016 17:19:08 +0000 (+0100) Subject: Add some bootstrap register related defines in common QC/A header X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=79fe586d4ba874091e97c7c8abfa3c6730acf211;p=oweals%2Fu-boot_mod.git Add some bootstrap register related defines in common QC/A header --- diff --git a/u-boot/include/soc/qca_soc_common.h b/u-boot/include/soc/qca_soc_common.h index e75d810..204f720 100644 --- a/u-boot/include/soc/qca_soc_common.h +++ b/u-boot/include/soc/qca_soc_common.h @@ -1218,6 +1218,13 @@ #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 */