From 79fe586d4ba874091e97c7c8abfa3c6730acf211 Mon Sep 17 00:00:00 2001 From: Piotr Dymacz Date: Thu, 10 Mar 2016 18:19:08 +0100 Subject: [PATCH] Add some bootstrap register related defines in common QC/A header --- u-boot/include/soc/qca_soc_common.h | 7 +++++++ 1 file changed, 7 insertions(+) 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 */ -- 2.25.1