aboutsummaryrefslogtreecommitdiffstats
path: root/Platforms/Hisilicon/HiKey960/Include/Hi3660.h
diff options
context:
space:
mode:
Diffstat (limited to 'Platforms/Hisilicon/HiKey960/Include/Hi3660.h')
-rw-r--r--Platforms/Hisilicon/HiKey960/Include/Hi3660.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/Platforms/Hisilicon/HiKey960/Include/Hi3660.h b/Platforms/Hisilicon/HiKey960/Include/Hi3660.h
index 0d810d8..e9e1552 100644
--- a/Platforms/Hisilicon/HiKey960/Include/Hi3660.h
+++ b/Platforms/Hisilicon/HiKey960/Include/Hi3660.h
@@ -141,7 +141,10 @@
#define BIT_SYSCTRL_LP_RESET_N (1 << 0)
#define BIT_UFS_REFCLK_SRC_SE1 (1 << 0)
#define MASK_UFS_SYSCTRL_BYPASS (0x3F << 16)
-#define MASK_UFS_DEVICE_RESET (1 << 16)
-#define BIT_UFS_DEVICE_RESET (1 << 0)
-
-#endif /* __HI3660_H__ */
+#define MASK_UFS_DEVICE_RESET (1 << 16)
+#define BIT_UFS_DEVICE_RESET (1 << 0)
+
+#define SCTRL_SCBAKDATA7 (SCTRL_REG_BASE + 0x428)
+#define HIKEY_REGION_SIZE(x) ((((x) >> 0x8) & 0xF) << 30)
+
+#endif /* __HI3660_H__ */