All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Pali Rohár" <pali@kernel.org>
To: Stefan Roese <sr@denx.de>, Tony Dinh <mibodhi@gmail.com>
Cc: "Marek Behún" <kabel@kernel.org>,
	"Luka Kovacic" <luka.kovacic@sartura.hr>,
	"Luka Perkov" <luka.perkov@sartura.hr>,
	"Robert Marko" <robert.marko@sartura.hr>,
	"Michael Trimarchi" <michael@amarulasolutions.com>,
	"Mark Kettenis" <kettenis@openbsd.org>,
	"Simon Glass" <sjg@chromium.org>,
	"Jaehoon Chung" <jh80.chung@samsung.com>,
	u-boot@lists.denx.de
Subject: [PATCH 0/5] arm: mvebu: Cleanup u-boot,dm-pre-reloc code
Date: Wed,  3 Aug 2022 13:00:48 +0200	[thread overview]
Message-ID: <20220803110053.22598-1-pali@kernel.org> (raw)

This patch series cleanup u-boot,dm-pre-reloc code in 32-bit mvebu
device tree files. All repeated code patterns are moved into the new
mvebu-u-boot.dtsi file which is automatically included by U-Boot build
process into all mvebu boards. In file mvebu-u-boot.dtsi is also enabled
u-boot,dm-pre-reloc for SPI node when SPL is compiled with SPI driver
for loading proper U-Boot. This avoids manually defining
  &spi0 { u-boot,dm-pre-reloc; };
in every armada soc which store U-Boot in SPI NOR.

I tested this patch series only on Armada 385 Turris Omnia board (both
UART and SPI-NOR booting). Please test it on other Armada boards.

CI tests were running at:
https://github.com/u-boot/u-boot/pull/203
But some x86 test failed, which must be irrelevant as this patch series
did not touch code outside of arch/arm/.

Pali Rohár (5):
  arm: mvebu: a7040/a8040/cn9130: Add spi0 dts reference
  arm: mvebu: Introduce mvebu-u-boot.dtsi for 32-bit Armada SoCs
  arm: mvebu: Remove redundant u-boot,dm-pre-reloc from all 32-bit
    Armada SoCs
  arm: mvebu: armada-xp-theadorable.dts: Move u-boot,dm-pre-reloc to
    -u-boot.dtsi
  arm: mvebu: armada-38x-controlcenterdc.dts: Move u-boot,dm-pre-reloc
    to -u-boot.dtsi

 arch/arm/dts/armada-370-xp.dtsi               |  1 -
 arch/arm/dts/armada-375-db.dts                |  3 ---
 arch/arm/dts/armada-375.dtsi                  |  2 --
 arch/arm/dts/armada-385-atl-x530-u-boot.dtsi  | 14 ++---------
 arch/arm/dts/armada-385-db-88f6820-amc.dts    |  3 ---
 .../dts/armada-385-turris-omnia-u-boot.dtsi   |  8 +-----
 arch/arm/dts/armada-388-clearfog-u-boot.dtsi  |  2 ++
 arch/arm/dts/armada-388-gp.dts                |  3 ---
 arch/arm/dts/armada-388-helios4-u-boot.dtsi   |  2 ++
 .../armada-38x-controlcenterdc-u-boot.dtsi    | 25 +++++++++++++++++++
 arch/arm/dts/armada-38x-controlcenterdc.dts   | 20 ---------------
 .../arm/dts/armada-38x-solidrun-microsom.dtsi |  1 -
 arch/arm/dts/armada-38x.dtsi                  |  2 --
 arch/arm/dts/armada-7040.dtsi                 |  3 +++
 arch/arm/dts/armada-8040.dtsi                 |  3 +++
 .../dts/armada-xp-crs305-1g-4s-u-boot.dtsi    | 13 ----------
 arch/arm/dts/armada-xp-crs305-1g-4s.dtsi      |  1 -
 .../dts/armada-xp-crs326-24g-2s-u-boot.dtsi   | 13 ----------
 arch/arm/dts/armada-xp-crs326-24g-2s.dtsi     |  1 -
 .../armada-xp-crs328-4c-20s-4s-u-boot.dtsi    | 13 ----------
 arch/arm/dts/armada-xp-crs328-4c-20s-4s.dtsi  |  1 -
 .../dts/armada-xp-db-xc3-24g4xg-u-boot.dtsi   | 12 +--------
 arch/arm/dts/armada-xp-gp-u-boot.dtsi         | 19 --------------
 arch/arm/dts/armada-xp-maxbcm.dts             |  1 -
 .../dts/armada-xp-synology-ds414-u-boot.dtsi  |  9 -------
 arch/arm/dts/armada-xp-synology-ds414.dts     |  1 -
 .../arm/dts/armada-xp-theadorable-u-boot.dtsi |  5 ++++
 arch/arm/dts/armada-xp-theadorable.dts        |  4 ---
 arch/arm/dts/armada-xp.dtsi                   |  1 -
 arch/arm/dts/cn9130.dtsi                      |  3 +++
 arch/arm/dts/mvebu-u-boot.dtsi                | 24 ++++++++++++++++++
 31 files changed, 71 insertions(+), 142 deletions(-)
 create mode 100644 arch/arm/dts/armada-38x-controlcenterdc-u-boot.dtsi
 delete mode 100644 arch/arm/dts/armada-xp-crs305-1g-4s-u-boot.dtsi
 delete mode 100644 arch/arm/dts/armada-xp-crs326-24g-2s-u-boot.dtsi
 delete mode 100644 arch/arm/dts/armada-xp-crs328-4c-20s-4s-u-boot.dtsi
 delete mode 100644 arch/arm/dts/armada-xp-gp-u-boot.dtsi
 delete mode 100644 arch/arm/dts/armada-xp-synology-ds414-u-boot.dtsi
 create mode 100644 arch/arm/dts/armada-xp-theadorable-u-boot.dtsi
 create mode 100644 arch/arm/dts/mvebu-u-boot.dtsi

-- 
2.20.1


             reply	other threads:[~2022-08-03 11:01 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-03 11:00 Pali Rohár [this message]
2022-08-03 11:00 ` [PATCH 1/5] arm: mvebu: a7040/a8040/cn9130: Add spi0 dts reference Pali Rohár
2022-08-04 14:51   ` Stefan Roese
2022-08-04 15:07     ` Pali Rohár
2022-08-05 10:25       ` Stefan Roese
2022-08-05 10:48         ` Pali Rohár
2022-08-05 10:51           ` Stefan Roese
2022-08-05 10:55             ` Pali Rohár
2022-08-05 11:38               ` Pali Rohár
2022-08-05 10:49         ` Pali Rohár
2022-08-03 11:00 ` [PATCH 2/5] arm: mvebu: Introduce mvebu-u-boot.dtsi for 32-bit Armada SoCs Pali Rohár
2022-08-04 14:52   ` Stefan Roese
2022-08-03 11:00 ` [PATCH 3/5] arm: mvebu: Remove redundant u-boot, dm-pre-reloc from all " Pali Rohár
2022-08-04 14:54   ` Stefan Roese
2022-08-03 11:00 ` [PATCH 4/5] arm: mvebu: armada-xp-theadorable.dts: Move u-boot, dm-pre-reloc to -u-boot.dtsi Pali Rohár
2022-08-04 14:42   ` [PATCH 4/5] arm: mvebu: armada-xp-theadorable.dts: Move u-boot,dm-pre-reloc " Stefan Roese
2022-08-03 11:00 ` [PATCH 5/5] arm: mvebu: armada-38x-controlcenterdc.dts: Move u-boot, dm-pre-reloc " Pali Rohár
2022-08-04 14:54   ` [PATCH 5/5] arm: mvebu: armada-38x-controlcenterdc.dts: Move u-boot,dm-pre-reloc " Stefan Roese
2022-08-04  1:24 ` [PATCH 0/5] arm: mvebu: Cleanup u-boot,dm-pre-reloc code Tony Dinh
2022-08-09 11:34 ` Stefan Roese

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=20220803110053.22598-1-pali@kernel.org \
    --to=pali@kernel.org \
    --cc=jh80.chung@samsung.com \
    --cc=kabel@kernel.org \
    --cc=kettenis@openbsd.org \
    --cc=luka.kovacic@sartura.hr \
    --cc=luka.perkov@sartura.hr \
    --cc=mibodhi@gmail.com \
    --cc=michael@amarulasolutions.com \
    --cc=robert.marko@sartura.hr \
    --cc=sjg@chromium.org \
    --cc=sr@denx.de \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.