This patch adds ftd support to the m68k architecture.

Signed-off-by: Angelo Dureghello <[email protected]>
---
 arch/Kconfig             | 1 +
 arch/m68k/Kconfig        | 2 ++
 arch/m68k/cpu/u-boot.lds | 2 ++
 3 files changed, 5 insertions(+)

diff --git a/arch/Kconfig b/arch/Kconfig
index bf1b4a9afa..d1917f91e1 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -28,6 +28,7 @@ config M68K
        select HAVE_PRIVATE_LIBGCC
        select SYS_BOOT_GET_CMDLINE
        select SYS_BOOT_GET_KBD
+       select SUPPORT_OF_CONTROL
 
 config MICROBLAZE
        bool "MicroBlaze architecture"
diff --git a/arch/m68k/Kconfig b/arch/m68k/Kconfig
index 1f6df5c870..60cb9411ed 100644
--- a/arch/m68k/Kconfig
+++ b/arch/m68k/Kconfig
@@ -199,6 +199,8 @@ config TARGET_AMCORE
 config TARGET_STMARK2
         bool "Support stmark2"
         select M54418
+       select OF_CONTROL
+       select DM
 
 endchoice
 
diff --git a/arch/m68k/cpu/u-boot.lds b/arch/m68k/cpu/u-boot.lds
index 96451208e5..e61630db20 100644
--- a/arch/m68k/cpu/u-boot.lds
+++ b/arch/m68k/cpu/u-boot.lds
@@ -75,6 +75,8 @@ SECTIONS
        . = ALIGN(256);
        __init_end = .;
 
+       _end = .;
+
        __bss_start = .;
        .bss (NOLOAD)       :
        {
-- 
2.19.0

_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot

Reply via email to