From patchwork Tue May 2 13:11:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rui Miguel Silva X-Patchwork-Id: 1775880 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=jS40rMTW; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Q9gVf6CRYz20fd for ; Tue, 2 May 2023 23:12:58 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4983484757; Tue, 2 May 2023 15:12:25 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="jS40rMTW"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 68EB78473C; Tue, 2 May 2023 15:12:23 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: 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_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 44F6E84735 for ; Tue, 2 May 2023 15:12:21 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=rui.silva@linaro.org Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-3f1950f5628so36459385e9.3 for ; Tue, 02 May 2023 06:12:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683033140; x=1685625140; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=E9AFngAdl26/ZbtRWEQybxP4AJ+s3NWkfMFTnneAISU=; b=jS40rMTWz8KogmLjjQTAA5tIQsHhSCobx+twu87cJkQOP8msNcvkhq/T8Gl+sCmwSq yaSUu+X9DERCtZ/CfIfg5ObTR0c+f8OlNwTSJOzYAiD1RzotveJOIQVCEEBA8wZYr37Y hn5DnkK5ayib3PvRBYBilKTuWqtwVDWPR/q8QWJ1Bkr2/d+Zt8Uore5HkKXGh/uj1nWB jFh8xY39YxXlGD6vTnHHP9VYPPY6PTVE2nHUe4rMoVsCfmuukjm/OXQ97zTy+CrQ/wgP efAh51KwzPkOLlwklaFSu8VBgQzJgw9Nhi1O8xIJDzdjREQNQ0Yp4611fm/At2upcjY1 LvBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683033140; x=1685625140; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=E9AFngAdl26/ZbtRWEQybxP4AJ+s3NWkfMFTnneAISU=; b=EKTDIKmrhfOhLiIhqUwxuaZZqvvpUTkMgn3Vt6Ew7kUF4qYR1xPHxynH1bVb7+qtIH aTyjmQdAven3Hw1TjlMfHPwRnTKIsqW2CWGe7KKRaP6/13U769UOiKmUr0Swx47yqS5O qMfBeIL4M4z+Y5+IcFMefUqdrJIT82uf3sqHL35KMSiWgJi2VSoHqK/ve1eMiwU1Gcoc aM63ujDP/NYhl3FsI4JA51XfDOt7mLDRcnsPqYnNIDu/N5s6YmIQrNKH3Bn4bvbncu7q UThFKAmAuDIfh/4GAccAgCR4+sy2A8VNPvbQIcIKWndXaxORsjB3JCZr8yXWK7hwdQoi i7Jw== X-Gm-Message-State: AC+VfDw4tMTwykckHX5rWHPyBN/liVAaZaGwNQ3Q4X6SRGL5nReIaSxj l7kM9PkTdNY09hz5buoo24fuVsGoIQn84N/tKfE= X-Google-Smtp-Source: ACHHUZ4UdFhrRWGyqqsf/qs9S21BO+8q9spKTpHN8jvpqV72WVMGBwpl4oKqmuE7CEhXjYFMf8+VEg== X-Received: by 2002:a7b:c5da:0:b0:3f1:72d4:b271 with SMTP id n26-20020a7bc5da000000b003f172d4b271mr13832268wmk.3.1683033140027; Tue, 02 May 2023 06:12:20 -0700 (PDT) Received: from arch-thunder.local (a109-49-33-111.cpe.netcabo.pt. [109.49.33.111]) by smtp.gmail.com with ESMTPSA id c21-20020a7bc855000000b003f17300c7dcsm35277121wml.48.2023.05.02.06.12.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 May 2023 06:12:18 -0700 (PDT) From: Rui Miguel Silva To: u-boot@lists.denx.de Cc: Simon Glass , Tom Rini , Ilias Apalodimas , Rui Miguel Silva Subject: [PATCH 3/6] corstone1000: add fwu-metadata store info Date: Tue, 2 May 2023 14:11:57 +0100 Message-Id: <20230502131200.2551513-4-rui.silva@linaro.org> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230502131200.2551513-1-rui.silva@linaro.org> References: <20230502131200.2551513-1-rui.silva@linaro.org> MIME-Version: 1.0 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.8 at phobos.denx.de X-Virus-Status: Clean Add fwu-mdata node and handle for the reference nvmxip-qspi. Signed-off-by: Rui Miguel Silva --- arch/arm/dts/corstone1000.dtsi | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/corstone1000.dtsi b/arch/arm/dts/corstone1000.dtsi index 533dfdf8e1ca..1e0ec075e4cd 100644 --- a/arch/arm/dts/corstone1000.dtsi +++ b/arch/arm/dts/corstone1000.dtsi @@ -38,7 +38,7 @@ reg = <0x88200000 0x77e00000>; }; - nvmxip-qspi@08000000 { + nvmxip: nvmxip-qspi@08000000 { compatible = "nvmxip,qspi"; reg = <0x08000000 0x2000000>; lba_shift = <9>; @@ -106,6 +106,11 @@ method = "smc"; }; + fwu-mdata { + compatible = "u-boot,fwu-mdata-gpt"; + fwu-mdata-store = <&nvmxip>; + }; + soc { compatible = "simple-bus"; #address-cells = <1>;