Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2270010pxp; Mon, 21 Mar 2022 15:28:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwU2+WfV6M72yAyJZdcLvK8fQMVRrVEepTBadqVNec2Sgasru0OgAaUE+riG5A+Kkrl8QjK X-Received: by 2002:a63:4f46:0:b0:382:56b2:f8 with SMTP id p6-20020a634f46000000b0038256b200f8mr9118636pgl.90.1647901712212; Mon, 21 Mar 2022 15:28:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647901712; cv=none; d=google.com; s=arc-20160816; b=wdMIIDIDk5DFrDmvsjHnzG+PvFKqRtKIWEIpoomtz0IQRNbt6NmUY3z3ttncvuShYp bhg5Oh2Vr30vc1OBw6/tT2+3Cp41I3EtZ7gdpJC4pcFFKtFv1HCSwOJyWKCTXak4qA+H 9kuWYbns82oAv30jJxlJ9J4NUWZ0AvMHYcl6Woitn1Ewj2AP4X3B9Zwkx+eEso1Us2ev awejEqM4qxYy0KIACUFLQZWlitIINszQKvq5+zCtt4/HF/clNwXrJUobyMIP+iegn/fC 7rwmPtflwY8n1fa6SIcgV1V3Sirqrfql8anPZ1jy/PpUFpk1LapA6KKTRJpGSOAGsnvT TZzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=7v5jghx3iCPuGSSYRqqp8PYiDy50N2D8Wwtr6j55mww=; b=1IqV1fIN5C1EIHpCOlkovjYjW3P4r44D2a/ARXJcXLOHvdTHDlhD833GkEIGBsxqfs aezpKexWf+5G0ZvVRjNYz07UT7Yaj+k5Jx0GAUK1ZgapcZvkXJ0Ob0Zwe7D01O6LqoBc iWSU5L7jsU01smtBsQda/ew5va++AdPfSk+3rzLMmwmij0AZviS3spAJQnxn84DE9qOe EmoisaOQxGKw0KTHIZG6gB6aqgtMlwy27ppfLWMmfLexFFgifTQMNaM1Ejfxq+gw1olv svQ34i/VhZw5G5fQmV/IJoAMDgsW/COhZTraV5tNF2G2jxweyBXh53UBxtlP/ej7/i6o eiZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oTFgDUVO; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id x6-20020a170902ea8600b00153b2d16425si11142437plb.45.2022.03.21.15.28.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 15:28:32 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oTFgDUVO; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 354513A5927; Mon, 21 Mar 2022 14:42:48 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347996AbiCUNm0 (ORCPT + 99 others); Mon, 21 Mar 2022 09:42:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347988AbiCUNmY (ORCPT ); Mon, 21 Mar 2022 09:42:24 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE98C7306A; Mon, 21 Mar 2022 06:40:59 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id F01CC61240; Mon, 21 Mar 2022 13:40:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2CEDDC340E8; Mon, 21 Mar 2022 13:40:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1647870058; bh=Tta+gf+lXM/5A76YW4BpjuBuyFt4HrFGmdEfOCer/ZI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=oTFgDUVOAkqeq+MZLODh7VZJB6faVsBs7zC2CzrHiKJ+WjDoJFDMW61NSu0Rhkp03 2tekrg1np6R9SuP0hq3wRC5EXjau3a+F/M+G7i40UFXYsh2LeYHxTM4dKfL8rk/3JF fy/42Pxzd6M8Fo3Uk4J4h43mmiha4oBOmERpJTJBq5/pyctMVQTV7DvXbpiRy8XfRe AAdAPFJbrJwjQLFXI/Jw5znjsKapqEyu9oGndZGVfsYF5J4M/YERv1jz5A0Tc6nVlW 0M/8WC+A7Doz8qHUvbgvPnq1QKbAl1u95ZTjSgFqwx7M+jkig624WjIsoR4Ri/p0I0 k5tP5hbvSH4Vg== Received: by pali.im (Postfix) id 2BE61A5B; Mon, 21 Mar 2022 14:40:55 +0100 (CET) Date: Mon, 21 Mar 2022 14:40:55 +0100 From: Pali =?utf-8?B?Um9ow6Fy?= To: Robert Marko Cc: andrew@lunn.ch, gregory.clement@bootlin.com, sebastian.hesselbarth@gmail.com, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, marek.behun@nic.cz Subject: Re: [PATCH 1/2] arm64: dts: uDPU: update partition table Message-ID: <20220321134055.o3uz5al5np7fj273@pali> References: <20220321121728.414839-1-robert.marko@sartura.hr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220321121728.414839-1-robert.marko@sartura.hr> User-Agent: NeoMutt/20180716 X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Monday 21 March 2022 13:17:27 Robert Marko wrote: > Partition currently called "uboot" does not only contain U-boot, but > rather it contains TF-A, U-boot and U-boot environment. > > So, to avoid accidentally deleting the U-boot environment which is > located at 0x180000 split the partition. > > "uboot" is not the correct name as you can't boot these boards with U-boot > only, TF-A must be present as well, so rename the "uboot" partition to > "firmware". > > While we are here, describe the NOR node as "spi-flash@0" instead of > "m25p80@0" which is the old SPI-NOR driver name. > > Signed-off-by: Robert Marko > --- > arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts | 13 +++++++++---- > 1 file changed, 9 insertions(+), 4 deletions(-) FYI, U-Boot now contains copy of kernel's A3720 DTS files, so you should send same patch also to U-Boot project. > diff --git a/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts b/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts > index 95d46e8d081c..ac64949bb53e 100644 > --- a/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts > +++ b/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts > @@ -99,7 +99,7 @@ &spi0 { > pinctrl-names = "default"; > pinctrl-0 = <&spi_quad_pins>; > > - m25p80@0 { > + spi-flash@0 { > compatible = "jedec,spi-nor"; > reg = <0>; > spi-max-frequency = <54000000>; > @@ -108,10 +108,15 @@ partitions { > compatible = "fixed-partitions"; > #address-cells = <1>; > #size-cells = <1>; > - /* only bootloader is located on the SPI */ > + > partition@0 { > - label = "uboot"; > - reg = <0 0x400000>; > + label = "firmware"; > + reg = <0x0 0x180000>; > + }; > + > + partition@180000 { > + label = "u-boot-env"; > + reg = <0x180000 0x10000>; > }; > }; > }; > -- > 2.35.1 >