diff options
Diffstat (limited to 'big-little/common/cci.c')
-rw-r--r-- | big-little/common/cci.c | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/big-little/common/cci.c b/big-little/common/cci.c index c07ccb5..3c47e19 100644 --- a/big-little/common/cci.c +++ b/big-little/common/cci.c @@ -18,7 +18,7 @@ * contributors may be used to endorse or promote products * derived from this software without specific prior written * permission. - */ + */ #include "misc.h" #include "virt_helpers.h" @@ -26,32 +26,32 @@ void enable_cci_snoops(unsigned cluster_id) { - /* Turn off CCI snoops & DVM Messages */ - if (cluster_id) - write32(A7_SL_IFACE_BASE + SNOOP_CTLR_REG, 0x3); - else - write32(A15_SL_IFACE_BASE + SNOOP_CTLR_REG, 0x3); + /* Turn off CCI snoops & DVM Messages */ + if (cluster_id) + write32(A7_SL_IFACE_BASE + SNOOP_CTLR_REG, 0x3); + else + write32(A15_SL_IFACE_BASE + SNOOP_CTLR_REG, 0x3); - dsb(); + dsb(); - /* Wait for the dust to settle down */ - while (read32(CCI_BASE + STATUS_REG) & 0x1) ; + /* Wait for the dust to settle down */ + while (read32(CCI_BASE + STATUS_REG) & 0x1) ; - return; + return; } void disable_cci_snoops(unsigned cluster_id) { - /* Turn off CCI snoops & DVM messages */ - if (cluster_id) - write32(A7_SL_IFACE_BASE + SNOOP_CTLR_REG, 0x0); - else - write32(A15_SL_IFACE_BASE + SNOOP_CTLR_REG, 0x0); + /* Turn off CCI snoops & DVM messages */ + if (cluster_id) + write32(A7_SL_IFACE_BASE + SNOOP_CTLR_REG, 0x0); + else + write32(A15_SL_IFACE_BASE + SNOOP_CTLR_REG, 0x0); - dsb(); + dsb(); - /* Wait for the dust to settle down */ - while (read32(CCI_BASE + STATUS_REG) & 0x1) ; + /* Wait for the dust to settle down */ + while (read32(CCI_BASE + STATUS_REG) & 0x1) ; - return; + return; } |