mirror of
https://xff.cz/git/u-boot/
synced 2025-09-08 04:02:07 +02:00
m68k: mcf523x: move CPU type to Kconfig and refactor config.mk
Move the CPU type config options from include/configs/M5235EVB.h to arch/m68k/Kconfig and refactor the CPU flags select in arch/m68k/cpu/mcf523x/config.mk. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Alison Wang <alison.wang@freescale.com> Cc: Angelo Dureghello <angelo@sysam.it>
This commit is contained in:
committed by
Tom Rini
parent
2bb1cd53e9
commit
f47fb6b4a0
@@ -11,6 +11,9 @@ config MCF520x
|
|||||||
config MCF52x2
|
config MCF52x2
|
||||||
bool
|
bool
|
||||||
|
|
||||||
|
config MCF523x
|
||||||
|
bool
|
||||||
|
|
||||||
config MCF530x
|
config MCF530x
|
||||||
bool
|
bool
|
||||||
|
|
||||||
@@ -37,6 +40,10 @@ config M5208
|
|||||||
bool
|
bool
|
||||||
select MCF520x
|
select MCF520x
|
||||||
|
|
||||||
|
config M5235
|
||||||
|
bool
|
||||||
|
select MCF523x
|
||||||
|
|
||||||
config M5249
|
config M5249
|
||||||
bool
|
bool
|
||||||
select MCF52x2
|
select MCF52x2
|
||||||
@@ -103,6 +110,7 @@ config TARGET_M52277EVB
|
|||||||
|
|
||||||
config TARGET_M5235EVB
|
config TARGET_M5235EVB
|
||||||
bool "Support M5235EVB"
|
bool "Support M5235EVB"
|
||||||
|
select M5235
|
||||||
|
|
||||||
config TARGET_COBRA5272
|
config TARGET_COBRA5272
|
||||||
bool "Support cobra5272"
|
bool "Support cobra5272"
|
||||||
|
@@ -7,4 +7,6 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0+
|
# SPDX-License-Identifier: GPL-2.0+
|
||||||
#
|
#
|
||||||
|
|
||||||
PLATFORM_CPPFLAGS += -mcpu=5235 -fPIC
|
cpuflags-$(CONFIG_M5235) := -mcpu=5235 -fPIC
|
||||||
|
|
||||||
|
PLATFORM_CPPFLAGS += $(cpuflags-y)
|
||||||
|
@@ -18,8 +18,6 @@
|
|||||||
* High Level Configuration Options
|
* High Level Configuration Options
|
||||||
* (easy to change)
|
* (easy to change)
|
||||||
*/
|
*/
|
||||||
#define CONFIG_MCF523x /* define processor family */
|
|
||||||
#define CONFIG_M5235 /* define processor type */
|
|
||||||
|
|
||||||
#define CONFIG_MCFUART
|
#define CONFIG_MCFUART
|
||||||
#define CONFIG_SYS_UART_PORT (0)
|
#define CONFIG_SYS_UART_PORT (0)
|
||||||
|
Reference in New Issue
Block a user