Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 47303C25B07 for ; Tue, 9 Aug 2022 11:34:44 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 795DA84A09; Tue, 9 Aug 2022 13:34:41 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1660044882; bh=ILK3lw2yiDuu96iqSCUMdxtdFGWyBAAzJzxF9D7Gx0w=; h=Date:Subject:To:Cc:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=BeInCDBR5n8FDyrH3UM5uEw3l69uqyaQJ7P5DLSLwTV2t7jdEmjMB+AKXs6wQh/l0 /jpFjM1xa0oOvMDFaBXPim34Wan0gK28eBcSpOIntTC63cMrOlNaszUKyGHs9dxwmi J5X6C9vomq/jo/mUL85Sy8L4kw3beeSm7xlzogaVph2M2dPpmviQyqdQf2Spb46Z4J eeDk+iJUIrPdRUZ5rkswx9XlV7PtVHqaZPjnitAMKAcCF4iLMei6fJ5V1ym33+q3CC AKTQH8b03NreJ4aOGTRLqD/QHKWcDy+kNvCo/fRyyUg2cKeXh/B/stWFgG8RDkpPy7 9l8vuWIlXUVuQ== Received: by phobos.denx.de (Postfix, from userid 109) id E21BA84A08; Tue, 9 Aug 2022 13:34:39 +0200 (CEST) Received: from mout-u-107.mailbox.org (mout-u-107.mailbox.org [IPv6:2001:67c:2050:101:465::107]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id F401984A0B for ; Tue, 9 Aug 2022 13:34:36 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=sr@denx.de Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-u-107.mailbox.org (Postfix) with ESMTPS id 4M29vt6C7Nz9sQV; Tue, 9 Aug 2022 13:34:34 +0200 (CEST) Message-ID: Date: Tue, 9 Aug 2022 13:34:33 +0200 MIME-Version: 1.0 Subject: Re: [PATCH 0/5] arm: mvebu: Cleanup u-boot,dm-pre-reloc code Content-Language: en-US To: =?UTF-8?Q?Pali_Roh=c3=a1r?= , Tony Dinh Cc: =?UTF-8?Q?Marek_Beh=c3=ban?= , Luka Kovacic , Luka Perkov , Robert Marko , Michael Trimarchi , Mark Kettenis , Simon Glass , Jaehoon Chung , u-boot@lists.denx.de References: <20220803110053.22598-1-pali@kernel.org> From: Stefan Roese In-Reply-To: <20220803110053.22598-1-pali@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean On 03.08.22 13:00, Pali Rohár wrote: > 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/. Patch 1/5 not, all others: Applied to u-boot-marvell/master Thanks, Stefan > 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 > Viele Grüße, Stefan Roese -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr@denx.de