The kernel originally supported revB only. This patch enables revC by default and adds a config option for building the kernel for the revB platform. Since the SCU base address was hard-coded in the proc-v6.S file (and only valid for RealView/EB revB), this patch also adds a more generic support for defining the SCU information. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
		
			
				
	
	
		
			15 lines
		
	
	
	
		
			265 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			265 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
#ifndef ASMARM_HARDWARE_ARM_SCU_H
 | 
						|
#define ASMARM_HARDWARE_ARM_SCU_H
 | 
						|
 | 
						|
#include <asm/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
 |