X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-arm%2Farch-omap%2Fhardware.h;h=8930a0e21a83787a9ac5dd0dda038abc99d65f21;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=fe0286912414b175b35c1872691373c09aa65d79;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/include/asm-arm/arch-omap/hardware.h b/include/asm-arm/arch-omap/hardware.h index fe0286912..8930a0e21 100644 --- a/include/asm-arm/arch-omap/hardware.h +++ b/include/asm-arm/arch-omap/hardware.h @@ -40,6 +40,7 @@ #include #ifndef __ASSEMBLER__ #include +#include #endif #include @@ -64,6 +65,7 @@ #define ARM_RSTCT1 (CLKGEN_REG_BASE + 0x10) #define ARM_RSTCT2 (CLKGEN_REG_BASE + 0x14) #define ARM_SYSST (CLKGEN_REG_BASE + 0x18) +#define ARM_IDLECT3 (CLKGEN_REG_BASE + 0x24) #define CK_RATEF 1 #define CK_IDLEF 2 @@ -135,17 +137,17 @@ /* CNTL_TIMER register bits */ #define MPUTIM_FREE (1<<6) #define MPUTIM_CLOCK_ENABLE (1<<5) -#define MPUTIM_PTV_MASK (0x7<> ID_SHIFT) & ID_MASK) == OMAP_ID_730) -#else -#define cpu_is_omap730() 0 #endif #ifdef CONFIG_ARCH_OMAP1510 #include "omap1510.h" -#define cpu_is_omap1510() (((OMAP_ID_REG >> ID_SHIFT) & ID_MASK) == OMAP_ID_1510) -#else -#define cpu_is_omap1510() 0 -#endif - -#ifdef CONFIG_ARCH_OMAP1610 -#include "omap1610.h" -#define cpu_is_omap1610() (((OMAP_ID_REG >> ID_SHIFT) & ID_MASK) == OMAP_ID_1610) || \ - (((OMAP_ID_REG >> ID_SHIFT) & ID_MASK) == OMAP_ID_1611) -#else -#define cpu_is_omap1610() 0 -#endif - -#ifdef CONFIG_ARCH_OMAP1710 -#include "omap1610.h" -#define cpu_is_omap1710() (((OMAP_ID_REG >> ID_SHIFT) & ID_MASK) == OMAP_ID_1710) -#else -#define cpu_is_omap1710() 0 #endif -#ifdef CONFIG_ARCH_OMAP5912 -#include "omap5912.h" -#define cpu_is_omap5912() (((OMAP_ID_REG >> ID_SHIFT) & ID_MASK) == OMAP_ID_5912) -#else -#define cpu_is_omap5912() 0 +#ifdef CONFIG_ARCH_OMAP16XX +#include "omap16xx.h" #endif /* * --------------------------------------------------------------------------- - * Board differentiation + * Board specific defines * --------------------------------------------------------------------------- */