From: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Date: Wed, 8 Jan 2014 05:09:32 +0000 (+0900)
Subject: sh: sh4: Add CONFIG_SH4 definition to config.mk of SH4
X-Git-Tag: v2025.01-rc5-pxa1908~15510^2~16^2~4
X-Git-Url: http://git.dujemihanovic.xyz/repo?a=commitdiff_plain;h=b1165adfd5cd6bcf59657436086fc98d9d2b214d;p=u-boot.git

sh: sh4: Add CONFIG_SH4 definition to config.mk of SH4

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
---

diff --git a/arch/sh/cpu/sh4/config.mk b/arch/sh/cpu/sh4/config.mk
index c3575570e7..753580beb1 100644
--- a/arch/sh/cpu/sh4/config.mk
+++ b/arch/sh/cpu/sh4/config.mk
@@ -8,5 +8,5 @@
 # SPDX-License-Identifier:	GPL-2.0+
 #
 #
-PLATFORM_CPPFLAGS += -m4-nofpu
+PLATFORM_CPPFLAGS += -DCONFIG_SH4 -m4-nofpu
 PLATFORM_RELFLAGS += -ffixed-r13