Kevin, On Fri, Apr 27, 2012 at 1:29 AM, Kevin Hilman <khilman@xxxxxx> wrote: > The 3505 check is now unused and can be removed. > > There are no longer any cpu_is_* checks that depend on specific IP > detection. > > Acked-by: Vaibhav Hiremath <hvaibhav@xxxxxx> > Tested-by: Vaibhav Hiremath <hvaibhav@xxxxxx> > Signed-off-by: Kevin Hilman <khilman@xxxxxx> > --- > arch/arm/plat-omap/include/plat/cpu.h | 8 +------- > 1 file changed, 1 insertion(+), 7 deletions(-) > > diff --git a/arch/arm/plat-omap/include/plat/cpu.h b/arch/arm/plat-omap/include/plat/cpu.h > index 41f3e5a..b34bf6c 100644 > --- a/arch/arm/plat-omap/include/plat/cpu.h > +++ b/arch/arm/plat-omap/include/plat/cpu.h > @@ -250,8 +250,7 @@ IS_AM_SUBCLASS(335x, 0x335) > * cpu_is_omap2423(): True for OMAP2423 > * cpu_is_omap2430(): True for OMAP2430 > * cpu_is_omap3430(): True for OMAP3430 > - * cpu_is_omap3505(): True for OMAP3505 > - * cpu_is_omap3517(): True for OMAP3517 > + * cpu_is_omap3517(): True for AM35x: OMAP3517, OMAP3505 Is cpu_is_omap35xx() a better name for it? Regards, Jean > */ > #define GET_OMAP_TYPE ((omap_rev() >> 16) & 0xffff) > > @@ -275,7 +274,6 @@ IS_OMAP_TYPE(2422, 0x2422) > IS_OMAP_TYPE(2423, 0x2423) > IS_OMAP_TYPE(2430, 0x2430) > IS_OMAP_TYPE(3430, 0x3430) > -IS_OMAP_TYPE(3505, 0x3517) > IS_OMAP_TYPE(3517, 0x3517) > > #define cpu_is_omap310() 0 > @@ -292,7 +290,6 @@ IS_OMAP_TYPE(3517, 0x3517) > #define cpu_is_omap2423() 0 > #define cpu_is_omap2430() 0 > #define cpu_is_omap3530() 0 > -#define cpu_is_omap3505() 0 > #define cpu_is_omap3517() 0 > #define cpu_is_omap3430() 0 > #define cpu_is_omap3630() 0 > @@ -346,7 +343,6 @@ IS_OMAP_TYPE(3517, 0x3517) > #if defined(CONFIG_ARCH_OMAP3) > # undef cpu_is_omap3430 > # undef cpu_is_omap3530 > -# undef cpu_is_omap3505 > # undef cpu_is_omap3517 > # undef cpu_is_ti81xx > # undef cpu_is_ti816x > @@ -356,8 +352,6 @@ IS_OMAP_TYPE(3517, 0x3517) > # define cpu_is_omap3430() is_omap3430() > # define cpu_is_omap3530() (cpu_is_omap3430()) > # define cpu_is_omap3517() is_omap3517() > -# define cpu_is_omap3505() (cpu_is_omap3517() && \ > - !omap3_has_sgx()) > # undef cpu_is_omap3630 > # define cpu_is_omap3630() is_omap363x() > # define cpu_is_ti81xx() is_ti81xx() > -- > 1.7.9.2 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-omap" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html