Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp3077143pxp; Tue, 22 Mar 2022 11:32:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxGUAiPCRsz0YyQbn46aHG3bAdLzQi9vAx44vPUfnrA9sctIK6wvrW8THxKsUhnRg/cT9Q7 X-Received: by 2002:a65:644e:0:b0:382:800d:153a with SMTP id s14-20020a65644e000000b00382800d153amr9039053pgv.366.1647973951953; Tue, 22 Mar 2022 11:32:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647973951; cv=none; d=google.com; s=arc-20160816; b=Bvil6zzzqPoVfIP/FC+mX6E+XRtmJB6AZox80L7N54ugZhpw/WByslNulS7k7JhXtO CLjYbtEsIT3fS5aTRpRmwKdrXFJ9ICB8hIhiA+slgVGljoozOJ8TAVIpKI7KJkt30hjv 6Ij7OGc3AMjv76C0Rhx8p7s1VUqVivbgKEncUvQh+8EJH0xjX7Vs5fHP4PVxeai1A5A/ oL1rPD5j+hHztG/Glhb4rXcSThC91Sae7cvg3P7624ItbrTjTPJuy8KzgGQzVweCZ7I+ EVPTjA4yLVHsyRdURJyzeBj3XA17p17Mc1p9Soj6MXzVn8qrWBVu4w8Na9P70doQ5dMh sovw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=77siS/SH/HdarcIrWyVVppwMCwxzQ+Pw6iY9q6o5pqs=; b=s/wyB18q/m3u2IB67lvg9VR09GAcbgm+v83CW+99cTD6wEAZPf/3Q2sIdIet9Db7WD f9+kmTxXRIy3C5EEYAIEVQl4Yc8FI1sBcxCjOArL57uzgHRH8ZWmI+XNSFLY3RvkAT2P LlhDBXz9gJqWBT3Gs9tWEUrB9hhiGpKFGZLxJroPJpUVAjcxY4N8YI8jIuYNo7rz0GW9 S7VFNAoGGj7dTSOemchVsTZL/b9+K75Eacmf0Y/XvL3Zi+/90SD3TfMqBV0QZMLu0ibh BWOKBqpgaH3qApeSc9KjeBiYoiqlE0vVOLZjfMt5DjOQ26Ym1rD/UXpdRr3aK+bGjPBi 1esA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=2whWCEXX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n19-20020a63ee53000000b003816043f149si16657315pgk.830.2022.03.22.11.32.17; Tue, 22 Mar 2022 11:32:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=2whWCEXX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234819AbiCVMVs (ORCPT + 99 others); Tue, 22 Mar 2022 08:21:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234817AbiCVMVm (ORCPT ); Tue, 22 Mar 2022 08:21:42 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AAFDD6CA6F; Tue, 22 Mar 2022 05:20:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=77siS/SH/HdarcIrWyVVppwMCwxzQ+Pw6iY9q6o5pqs=; b=2whWCEXXLZh0kwKMBXmKqCehAT uKxh09s1QPkjlTvRY+GC4mbQb2t+3xLmIR5nt2rixip3vimafyiS+XV/7wz6atwSsLGVxvQbFLTe2 AWpuyQ3O/hAHV652EcB3HmGxxwK56l7Kifrs4L+hrREog/ZUhsSjVhDjtoMDsAr4PAbI=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1nWdUi-00C7UV-OO; Tue, 22 Mar 2022 13:20:12 +0100 Date: Tue, 22 Mar 2022 13:20:12 +0100 From: Andrew Lunn To: Robert Marko Cc: 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, pali@kernel.org, marek.behun@nic.cz Subject: Re: [PATCH v2 1/2] arm64: dts: uDPU: update partition table Message-ID: References: <20220322105857.1107016-1-robert.marko@sartura.hr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220322105857.1107016-1-robert.marko@sartura.hr> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham 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 Tue, Mar 22, 2022 at 11:58:56AM +0100, 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. > > This won't break booting for existing devices as the SoC-s BootROM is not > partition aware at all, it will simply try booting from 0x0 of the > boot device that is set by bootstrap pins. > > This will however prevent accidental or automated flashing of just U-boot > to the partition. > > Signed-off-by: Robert Marko Reviewed-by: Andrew Lunn Andrew