/* compatibility with newer code */
#define omap_rev() system_rev
+/* HACK: make SGX build less painful */
+#define omap_rev_lt_3_0() (omap_rev() < OMAP3430_REV_ES3_0)
+
/*
* Test if multicore OMAP support is needed
*/
#define cpu_is_omap2423() 0
#define cpu_is_omap2430() 0
#define cpu_is_omap3430() 0
+#define cpu_is_omap3530() 0
+#define cpu_is_omap3630() 0
#if defined(MULTI_OMAP1)
# if defined(CONFIG_ARCH_OMAP730)
#if defined(CONFIG_ARCH_OMAP34XX)
# undef cpu_is_omap3430
+# undef cpu_is_omap3530
# define cpu_is_omap3430() is_omap3430()
+# define cpu_is_omap3530() is_omap3430()
#endif
/* Macros to detect if we have OMAP1 or OMAP2 */