summaryrefslogtreecommitdiff
path: root/include/asm-sh/processor.h
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>2008-08-31 22:48:33 +0900
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>2008-08-31 22:48:33 +0900
commit6ad43d0dd86b612895ddc7f480eb6cdfe793adf9 (patch)
treea6139313961a40af786cdf43dceef92660400750 /include/asm-sh/processor.h
parent0d53a47dc0737b6aa3a39caee21410c169441ae5 (diff)
downloadu-boot-imx-6ad43d0dd86b612895ddc7f480eb6cdfe793adf9.zip
u-boot-imx-6ad43d0dd86b612895ddc7f480eb6cdfe793adf9.tar.gz
u-boot-imx-6ad43d0dd86b612895ddc7f480eb6cdfe793adf9.tar.bz2
sh: Add support SH2/SH2A which is CPU of Renesas Technology
Add support SH2/SH2A basic function. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'include/asm-sh/processor.h')
-rw-r--r--include/asm-sh/processor.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/asm-sh/processor.h b/include/asm-sh/processor.h
index 388aa69..938a89c 100644
--- a/include/asm-sh/processor.h
+++ b/include/asm-sh/processor.h
@@ -1,6 +1,9 @@
#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) || \
defined (CONFIG_SH4A)