diff options
Diffstat (limited to 'arch/arm/mach-omap')
-rw-r--r-- | arch/arm/mach-omap/include/mach/generic.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-omap/include/mach/generic.h b/arch/arm/mach-omap/include/mach/generic.h index a2dd229c1c..c801a068e3 100644 --- a/arch/arm/mach-omap/include/mach/generic.h +++ b/arch/arm/mach-omap/include/mach/generic.h @@ -5,6 +5,7 @@ /* I2C controller revisions present on specific hardware */ #define OMAP_I2C_REV_ON_2430 0x36 #define OMAP_I2C_REV_ON_3430 0x3C +#define OMAP_I2C_REV_ON_4430 0x40 #ifdef CONFIG_ARCH_OMAP #define cpu_is_omap2430() (1) @@ -17,3 +18,9 @@ #else #define cpu_is_omap34xx() (0) #endif + +#ifdef CONFIG_ARCH_OMAP4 +#define cpu_is_omap4xxx() (1) +#else +#define cpu_is_omap4xxx() (0) +#endif |