summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>2014-01-08 13:46:06 +0900
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>2014-01-08 14:13:55 +0900
commit14eeb926bb1fc7fbfa0e8767136540ed10aff81a (patch)
tree95157e9f2dda6b60ae7e5f7715cbcd35e8a19031 /arch
parent9f618330328b18547dbc8ebc1f0c48fefdae7513 (diff)
downloadu-boot-imx-14eeb926bb1fc7fbfa0e8767136540ed10aff81a.zip
u-boot-imx-14eeb926bb1fc7fbfa0e8767136540ed10aff81a.tar.gz
u-boot-imx-14eeb926bb1fc7fbfa0e8767136540ed10aff81a.tar.bz2
sh: sh2: Add CONFIG_SH2 definition to config.mk of SH2
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/sh/cpu/sh2/config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/cpu/sh2/config.mk b/arch/sh/cpu/sh2/config.mk
index 8a0de96..69273b4 100644
--- a/arch/sh/cpu/sh2/config.mk
+++ b/arch/sh/cpu/sh2/config.mk
@@ -12,7 +12,7 @@ PLATFORM_CPPFLAGS += -m2a -m2a-nofpu -mb -ffreestanding
else # SH2
PLATFORM_CPPFLAGS += -m3e -mb
endif
-PLATFORM_CPPFLAGS += $(call cc-option,-mno-fdpic)
+PLATFORM_CPPFLAGS += -DCONFIG_SH2 $(call cc-option,-mno-fdpic)
PLATFORM_RELFLAGS += -ffixed-r13
PLATFORM_LDFLAGS += $(ENDIANNESS)