RE: [PATCH-V2] ARM: OMAP: cpu: Make cpu_class_is_omap2 true for all non-omap1 platforms

2012-07-03 Thread Hiremath, Vaibhav
On Fri, Jun 29, 2012 at 16:58:26, Hiremath, Vaibhav wrote: > As omap1 and omap2 will never be compiled together, due to > different compiler flags, so we can simply make > cpu_class_is_omap2() = true, for all non-omap1 platforms. > > In order to fix build error from plat-omap/sram.c file, > omap_t

[PATCH-V2] ARM: OMAP: cpu: Make cpu_class_is_omap2 true for all non-omap1 platforms

2012-06-29 Thread Vaibhav Hiremath
As omap1 and omap2 will never be compiled together, due to different compiler flags, so we can simply make cpu_class_is_omap2() = true, for all non-omap1 platforms. In order to fix build error from plat-omap/sram.c file, omap_type() function is encapsulated under #ifdef CONFIG_ARCH_OMAP2PLUS. Sig