From 8bf69d81782619187933a605f1a95ee1d069478d Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Sun, 30 Mar 2008 11:28:46 +0100 Subject: Separate omap24xx specific code from arm1136 Move omap24xx code to cpu/arm1136/omap24xx, rename include/asm-arm/arch-arm1136 to cpu/arm1136/omap24xx. Signed-off-by: Sascha Hauer Signed-off-by: Guennadi Liakhovetski --- cpu/arm1136/cpu.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'cpu/arm1136/cpu.c') diff --git a/cpu/arm1136/cpu.c b/cpu/arm1136/cpu.c index fa78eaa..90e9553 100644 --- a/cpu/arm1136/cpu.c +++ b/cpu/arm1136/cpu.c @@ -33,9 +33,6 @@ #include #include -#if !defined(CONFIG_INTEGRATOR) && ! defined(CONFIG_ARCH_CINTEGRATOR) -#include -#endif #ifdef CONFIG_USE_IRQ DECLARE_GLOBAL_DATA_PTR; @@ -47,10 +44,10 @@ static unsigned long read_p15_c1 (void) unsigned long value; __asm__ __volatile__( - "mrc p15, 0, %0, c1, c0, 0 @ read control reg\n" - : "=r" (value) - : - : "memory"); + "mrc p15, 0, %0, c1, c0, 0 @ read control reg\n" + : "=r" (value) + : + : "memory"); return value; } -- cgit v1.1