m68k: mcf530x: move CPU type to Kconfig and refactor config.mk
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 27 Mar 2015 08:01:07 +0000 (17:01 +0900)
committerTom Rini <trini@konsulko.com>
Sat, 28 Mar 2015 13:03:09 +0000 (09:03 -0400)
commitbdde65951659fb78d3b4bbf99743a74522f03a05
treead8e0af1ca8869766b27c3feeb93f3650b536128
parentd4a9b17df590c1b0b2a187e1491ea7e946a06a07
m68k: mcf530x: move CPU type to Kconfig and refactor config.mk

This commit intends to stop grepping CPU type in
arch/m68k/cpu/mcf530x/config.mk.

Move the CPU type config options from include/configs/amcore.h
to arch/m68k/Kconfig and refactor the CPU flags select in
arch/m68k/cpu/mcf530x/config.mk.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Alison Wang <alison.wang@freescale.com>
Cc: Angelo Dureghello <angelo@sysam.it>
arch/m68k/Kconfig
arch/m68k/cpu/mcf530x/config.mk
include/configs/amcore.h