diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2015-03-27 17:01:10 +0900 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-03-28 09:03:09 -0400 |
commit | 2bb1cd53e97f996bc13df425602b85f9f1159db8 (patch) | |
tree | 979ad95491cd03ceb99982fd4dd541b9a307e3e2 /arch/m68k/cpu | |
parent | 7f8ebbf0956818c06be6e28e1c869a1240a3110c (diff) | |
download | u-boot-imx-2bb1cd53e97f996bc13df425602b85f9f1159db8.zip u-boot-imx-2bb1cd53e97f996bc13df425602b85f9f1159db8.tar.gz u-boot-imx-2bb1cd53e97f996bc13df425602b85f9f1159db8.tar.bz2 |
m68k: mcf5227x: move CPU type to Kconfig and refactor config.mk
Move the CPU type config options from include/configs/M52277EVB.h
to arch/m68k/Kconfig and refactor the CPU flags select in
arch/m68k/cpu/mcf5227x/config.mk.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Alison Wang <alison.wang@freescale.com>
Cc: Angelo Dureghello <angelo@sysam.it>
Diffstat (limited to 'arch/m68k/cpu')
-rw-r--r-- | arch/m68k/cpu/mcf5227x/config.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/m68k/cpu/mcf5227x/config.mk b/arch/m68k/cpu/mcf5227x/config.mk index b5c26e4..a6814d8 100644 --- a/arch/m68k/cpu/mcf5227x/config.mk +++ b/arch/m68k/cpu/mcf5227x/config.mk @@ -7,4 +7,6 @@ # SPDX-License-Identifier: GPL-2.0+ # -PLATFORM_CPPFLAGS += -mcpu=52277 -fPIC +cpuflags-$(CONFIG_M52277) := -mcpu=52277 -fPIC + +PLATFORM_CPPFLAGS += $(cpuflags-y) |