drivers: add a driver for snoop control unitThe SCU connects one to four Cortex-A5/Cortex-A9 processorsto the memory system through the AXI interfaces.The SCU functions are to:- maintain data c
drivers: add a driver for snoop control unitThe SCU connects one to four Cortex-A5/Cortex-A9 processorsto the memory system through the AXI interfaces.The SCU functions are to:- maintain data cache coherency between the Cortex-A5/Cortex-A9 processors- initiate L2 AXI memory accesses- arbitrate between Cortex-A5/Cortex-A9 processors requesting L2 accesses- manage ACP accesses.Snoop Control Unit will enable to snoop on other CPUs caches.This is very important when it comes to synchronizing data betweenCPUs. As an example, there is a high chance that data might becache'd and other CPUs can't see the change. In such cases,if snoop control unit is enabled, data is synchoronized immediatelybetween CPUs and the changes are visible to other CPUs.This driver provides functionality to enable SCU as well as enablinguser to know the following- number of CPUs present- is a particular CPU operating in SMP mode or AMP mode- data cache size of a particular CPU- does SCU has ACP port- is L2CPRESENTChange-Id: I0d977970154fa60df57caf449200d471f02312a0Signed-off-by: Vishnu Banavath <vishnu.banavath@arm.com>
show more ...