summaryrefslogtreecommitdiff
path: root/include/asm-sh/processor.h
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-09-01 00:03:40 +0200
committerWolfgang Denk <wd@denx.de>2008-09-01 00:03:40 +0200
commitde5b094def5d80c4355c0326cfb54b9289f7d609 (patch)
treee1145f02977d099f9dc51174a1c0cd7c58b8d55d /include/asm-sh/processor.h
parent845842c1e4c465c895cdfcd013e162320d127048 (diff)
parentc75e772a2f061a508bba28ded1b5bea91f0442b0 (diff)
downloadu-boot-imx-de5b094def5d80c4355c0326cfb54b9289f7d609.zip
u-boot-imx-de5b094def5d80c4355c0326cfb54b9289f7d609.tar.gz
u-boot-imx-de5b094def5d80c4355c0326cfb54b9289f7d609.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-sh
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)