ppc: Clean up calling of misc_init_r() during init
[platform/kernel/u-boot.git] / include / asm-sh / processor.h
index bb9a35f..938a89c 100644 (file)
@@ -1,8 +1,12 @@
 #ifndef _ASM_SH_PROCESSOR_H_
 #define _ASM_SH_PROCESSOR_H_
-#if defined CONFIG_SH3
+#if defined(CONFIG_SH2) || \
+       defined (CONFIG_SH2A)
+# include <asm/cpu_sh2.h>
+#elif defined (CONFIG_SH3)
 # include <asm/cpu_sh3.h>
-#elif defined (CONFIG_SH4)
+#elif defined (CONFIG_SH4) || \
+       defined (CONFIG_SH4A)
 # include <asm/cpu_sh4.h>
 #endif
 #endif