b7b0ba942f
This patch moves the SCU initialisation from __v6_setup to the smp_prepare_cpus() function as it relies on platform-specific settings. Changes to get_core_count() are mainly for allowing cleaner code with the upcoming PB11MPCore patches. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
14 lines
226 B
C
14 lines
226 B
C
#ifndef __ASMARM_ARCH_SCU_H
|
|
#define __ASMARM_ARCH_SCU_H
|
|
|
|
/*
|
|
* SCU registers
|
|
*/
|
|
#define SCU_CTRL 0x00
|
|
#define SCU_CONFIG 0x04
|
|
#define SCU_CPU_STATUS 0x08
|
|
#define SCU_INVALIDATE 0x0c
|
|
#define SCU_FPGA_REVISION 0x10
|
|
|
|
#endif
|