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

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

Move the CPU type config options from include/configs/*.h
to arch/m68k/Kconfig and refactor the CPU flags select in
arch/m68k/cpu/mcf52x2/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/mcf52x2/config.mk
include/configs/M5208EVBE.h
include/configs/M5249EVB.h
include/configs/M5253DEMO.h
include/configs/M5253EVBE.h
include/configs/M5272C3.h
include/configs/M5275EVB.h
include/configs/M5282EVB.h
include/configs/cobra5272.h
include/configs/eb_cpu5282.h