diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2008-04-18 23:43:08 +0200 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2008-04-18 23:43:08 +0200 |
commit | b7b0ba942f7b18de678cd081902aad8a0b6581c6 (patch) | |
tree | 65e36cdf831906876bc558ab6d40db58d9ba5e92 /include/asm-arm/arch-realview | |
parent | Linux Thumb-2 support for user-space applications (diff) | |
download | linux-b7b0ba942f7b18de678cd081902aad8a0b6581c6.tar.xz linux-b7b0ba942f7b18de678cd081902aad8a0b6581c6.zip |
RealView: Move the SCU initialisation out of __v6_setup
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>
Diffstat (limited to 'include/asm-arm/arch-realview')
-rw-r--r-- | include/asm-arm/arch-realview/scu.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/include/asm-arm/arch-realview/scu.h b/include/asm-arm/arch-realview/scu.h index 08b3db883c36..d55802d645af 100644 --- a/include/asm-arm/arch-realview/scu.h +++ b/include/asm-arm/arch-realview/scu.h @@ -1,8 +1,13 @@ #ifndef __ASMARM_ARCH_SCU_H #define __ASMARM_ARCH_SCU_H -#include <asm/arch/board-eb.h> - -#define SCU_BASE REALVIEW_EB11MP_SCU_BASE +/* + * 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 |