[Buildroot] [PATCH 1/3] arch: add support for mcf54418 Colfdire
Jean-Michel Hautbois
jeanmichel.hautbois at yoseli.org
Thu Jun 29 05:31:28 UTC 2023
The m68k family ony has one Coldfire variant, namely the 5208. Add the
support for the MCF54418 CPU in the configuration file.
Signed-off-by: Jean-Michel Hautbois <jeanmichel.hautbois at yoseli.org>
---
arch/Config.in.m68k | 9 +++++++++
toolchain/Config.in | 1 +
2 files changed, 10 insertions(+)
diff --git a/arch/Config.in.m68k b/arch/Config.in.m68k
index 9fd22aaf1e..6aa409b272 100644
--- a/arch/Config.in.m68k
+++ b/arch/Config.in.m68k
@@ -33,11 +33,20 @@ config BR2_m68k_cf5208
select BR2_m68k_cf
select BR2_SOFT_FLOAT
+config BR2_m68k_cf54418
+ bool "54418"
+ select BR2_m68k_cf
+ select BR2_USE_MMU
+ select BR2_SOFT_FLOAT
endchoice
config BR2_GCC_TARGET_CPU
default "68040" if BR2_m68k_68040
default "5208" if BR2_m68k_cf5208
+ default "54455" if BR2_m68k_cf54418
+
+config BR2_GCC_TARGET_ARCH
+ default "cf" if BR2_m68k_cf54418
config BR2_READELF_ARCH_NAME
default "MC68000"
diff --git a/toolchain/Config.in b/toolchain/Config.in
index ff0eb93017..ec2185cb39 100644
--- a/toolchain/Config.in
+++ b/toolchain/Config.in
@@ -95,6 +95,7 @@ config BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS
depends on !BR2_ARM_CPU_ARMV5
depends on !BR2_sparc_v8
depends on !BR2_m68k_cf5208
+ depends on !BR2_m68k_cf54418
# GCC uses thunk functions to adjust the 'this' pointer when calling
# C++ member functions in classes derived with multiple inheritance.
--
2.39.2
More information about the buildroot
mailing list