summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYao Yuan <yao.yuan@freescale.com>2015-12-05 14:59:12 +0800
committerYork Sun <yorksun@freescale.com>2015-12-15 08:56:53 +0800
commit0b8bc6314e1abc4379cc00f93f949257e0b1b196 (patch)
tree2694f065a9dd2fd7bc1b744dbcfbd33ea0605563
parent762b3535467202ee216dce81f13eec42cd2ac2e3 (diff)
downloadu-boot-imx-0b8bc6314e1abc4379cc00f93f949257e0b1b196.zip
u-boot-imx-0b8bc6314e1abc4379cc00f93f949257e0b1b196.tar.gz
u-boot-imx-0b8bc6314e1abc4379cc00f93f949257e0b1b196.tar.bz2
armv7: ls102xa: cci-400: Enable snoop and DVM message requests.
Enable snoop and DVM message on all CCI-400 slave ports. Setting on disabled feature (snoop or DVM) is ignored by CCI-400. Signed-off-by: Yuan Yao <yao.yuan@freescale.com> [York Sun: Add commit message] Reviewed-by: York Sun <yorksun@freescale.com>
-rw-r--r--arch/arm/cpu/armv7/ls102xa/soc.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/ls102xa/soc.c b/arch/arm/cpu/armv7/ls102xa/soc.c
index 6036473..97ba6d5 100644
--- a/arch/arm/cpu/armv7/ls102xa/soc.c
+++ b/arch/arm/cpu/armv7/ls102xa/soc.c
@@ -40,8 +40,14 @@ int arch_soc_init(void)
/*
* Enable snoop requests and DVM message requests for
- * Slave insterface S4 (A7 core cluster)
+ * All the slave insterfaces.
*/
+ out_le32(&cci->slave[0].snoop_ctrl,
+ CCI400_DVM_MESSAGE_REQ_EN | CCI400_SNOOP_REQ_EN);
+ out_le32(&cci->slave[1].snoop_ctrl,
+ CCI400_DVM_MESSAGE_REQ_EN | CCI400_SNOOP_REQ_EN);
+ out_le32(&cci->slave[2].snoop_ctrl,
+ CCI400_DVM_MESSAGE_REQ_EN | CCI400_SNOOP_REQ_EN);
out_le32(&cci->slave[4].snoop_ctrl,
CCI400_DVM_MESSAGE_REQ_EN | CCI400_SNOOP_REQ_EN);