[U-Boot] [PATCH 2/8] sun8i: Add CCI-400 definitions

tpearson at raptorengineering.com tpearson at raptorengineering.com
Tue May 17 04:38:18 CEST 2016


Signed-off-by: Timothy Pearson <tpearson at raptorengineeringinc.com>
---
 arch/arm/include/asm/arch-sunxi/cpu_sun4i.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/include/asm/arch-sunxi/cpu_sun4i.h b/arch/arm/include/asm/arch-sunxi/cpu_sun4i.h
index 65c0441..76da00f 100644
--- a/arch/arm/include/asm/arch-sunxi/cpu_sun4i.h
+++ b/arch/arm/include/asm/arch-sunxi/cpu_sun4i.h
@@ -18,6 +18,9 @@
 #define SUNXI_SRAM_D_BASE		0x00010000	/* 4 kiB */
 #define SUNXI_SRAM_B_BASE		0x00020000	/* 64 kiB (secure) */

+#define SUN8I_CPUXCFG_BASE		0x01700000
+#define SUN8I_CCI400_BASE		0x01790000
+
 #define SUNXI_SRAMC_BASE		0x01c00000
 #define SUNXI_DRAMC_BASE		0x01c01000
 #define SUNXI_DMA_BASE			0x01c02000
@@ -168,6 +171,10 @@
 #define SUNXI_SS_BOND_ID_A31		4
 #define SUNXI_SS_BOND_ID_A31S		5

+#define CCI400_DVM_MESSAGE_REQ_EN	0x00000002
+#define CCI400_SNOOP_REQ_EN		0x00000001
+#define	CCI400_SHAORD_NON_SHAREABLE	0x00000002
+
 #ifndef __ASSEMBLY__
 void sunxi_board_init(void);
 void sunxi_reset(void);
-- 
2.8.0.rc3



More information about the U-Boot mailing list