Commit 12bf710a authored by Tony Lindgren's avatar Tony Lindgren

ARM: OMAP: Add cpu_class_is_omap1() and cpu_class_is_omap2() macros

Add cpu_class_is_omap1() and cpu_class_is_omap2() macros
parent 6a1c1977
...@@ -215,4 +215,9 @@ IS_OMAP_TYPE(2420, 0x2420) ...@@ -215,4 +215,9 @@ IS_OMAP_TYPE(2420, 0x2420)
# define cpu_is_omap2420() 1 # define cpu_is_omap2420() 1
#endif #endif
/* Macros to detect if we have OMAP1 or OMAP2 */
#define cpu_class_is_omap1() (cpu_is_omap730() || cpu_is_omap15xx() || \
cpu_is_omap16xx())
#define cpu_class_is_omap2() cpu_is_omap24xx()
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment