public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Angelo Dureghello <angelo@sysam.it>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 06/11] m68k: architecture changes to support fdt
Date: Tue,  9 Oct 2018 23:43:08 +0200	[thread overview]
Message-ID: <20181009214313.27034-7-angelo@sysam.it> (raw)
In-Reply-To: <20181009214313.27034-1-angelo@sysam.it>

This patch adds fdt support to the m68k architecture.

Signed-off-by: Angelo Dureghello <angelo@sysam.it>
---
Changes for v2:
- add OF_CONTROL, DM and DM_SERIAL as default config options
  for all cpu families
---
 arch/Kconfig             |  1 +
 arch/m68k/Kconfig        | 33 +++++++++++++++++++++++++++++++++
 arch/m68k/cpu/u-boot.lds |  2 ++
 3 files changed, 36 insertions(+)

diff --git a/arch/Kconfig b/arch/Kconfig
index c988c17f37..deb7579ae2 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..fef108105b 100644
--- a/arch/m68k/Kconfig
+++ b/arch/m68k/Kconfig
@@ -6,36 +6,69 @@ config SYS_ARCH
 
 # processor family
 config MCF520x
+	select OF_CONTROL
+	select DM
+        select DM_SERIAL
 	bool
 
 config MCF52x2
+	select OF_CONTROL
+	select DM
+        select DM_SERIAL
 	bool
 
 config MCF523x
+	select OF_CONTROL
+	select DM
+        select DM_SERIAL
 	bool
 
 config MCF530x
+	select OF_CONTROL
+	select DM
+        select DM_SERIAL
 	bool
 
 config MCF5301x
+	select OF_CONTROL
+	select DM
+        select DM_SERIAL
 	bool
 
 config MCF532x
+	select OF_CONTROL
+	select DM
+        select DM_SERIAL
 	bool
 
 config MCF537x
+	select OF_CONTROL
+	select DM
+        select DM_SERIAL
 	bool
 
 config MCF5441x
+	select OF_CONTROL
+	select DM
+        select DM_SERIAL
 	bool
 
 config MCF5445x
+	select OF_CONTROL
+	select DM
+        select DM_SERIAL
 	bool
 
 config MCF5227x
+	select OF_CONTROL
+	select DM
+        select DM_SERIAL
 	bool
 
 config MCF547x_8x
+	select OF_CONTROL
+        select DM
+        select DM_SERIAL
 	bool
 
 # processor type
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.1

  parent reply	other threads:[~2018-10-09 21:43 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-09 21:43 [U-Boot] [PATCH v2 00/11] m68k: initial devicetree support Angelo Dureghello
2018-10-09 21:43 ` [U-Boot] [PATCH v2 01/11] m68k: add basic set of devicetrees Angelo Dureghello
2018-10-10  5:49   ` Jagan Teki
2018-10-10  9:38     ` Angelo Dureghello
2018-10-09 21:43 ` [U-Boot] [PATCH v2 02/11] drivers: spi: cf_spi: add Kconfig option Angelo Dureghello
2018-10-10  5:51   ` Jagan Teki
2018-10-10  9:40     ` Angelo Dureghello
2018-10-09 21:43 ` [U-Boot] [PATCH v2 03/11] drivers: spi: cf_spi: migrate to DM and DT Angelo Dureghello
2018-10-10  5:58   ` Jagan Teki
2018-10-10  9:57     ` Angelo Dureghello
2018-10-09 21:43 ` [U-Boot] [PATCH v2 04/11] drivers: serial: mcfuart: add DT support Angelo Dureghello
2018-10-09 21:43 ` [U-Boot] [PATCH v2 05/11] drivers: serial: mcfuart: add Kconfig option Angelo Dureghello
2018-10-09 21:43 ` Angelo Dureghello [this message]
2018-10-09 21:43 ` [U-Boot] [PATCH v2 07/11] m68k: add initial dts files for all m68k boards Angelo Dureghello
2018-10-09 21:43 ` [U-Boot] [PATCH v2 08/11] m68k: enabling long jumps on mcf54x5 SoCs Angelo Dureghello
2018-10-09 21:43 ` [U-Boot] [PATCH v2 09/11] configs: enable use of DT for all m68k boards Angelo Dureghello
2018-10-09 21:43 ` [U-Boot] [PATCH v2 10/11] configs: add DM_SPI config option Angelo Dureghello
2018-10-09 21:43 ` [U-Boot] [PATCH v2 11/11] configs: remove CONFIG_SYS_DSPI_XX references Angelo Dureghello

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181009214313.27034-7-angelo@sysam.it \
    --to=angelo@sysam.it \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox