From patchwork Mon Jun 12 08:09:17 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: 1793805 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=FSrMY6KG; 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 4Qfkx81kllz20X6 for ; Mon, 12 Jun 2023 18:14:20 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 273D786172; Mon, 12 Jun 2023 10:13:39 +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="FSrMY6KG"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5D8AE84780; Mon, 12 Jun 2023 10:13:28 +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-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) (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 4C91D85FD2 for ; Mon, 12 Jun 2023 10:13: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=rui.silva@linaro.org Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-3f7368126a6so27237285e9.0 for ; Mon, 12 Jun 2023 01:13:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686557604; x=1689149604; 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=FdIzyYY1XPhUXau8Tsr/xKuKS/q/o23vEd6unqtx3FA=; b=FSrMY6KG4ZJ1nOYvwhvAQzQNgWXzuDjXfXaivVRu7MFYs/WlhD2yNHJxHgw1xf3qV5 ZAWUWfIGkjfzQgHHyefY/LURDn2O0KRpp7aTwd9rvB3KVoT8o6fiZ8Eh0MnNG8RPjzMM pmfWpMqVT1xpEIjRZHU/zt6b2uyU4xaQuU5RHT1e7D+BhxfmYauGS6DxLIsMPZQbJOEW l4kjqL9KJmjXuWL0l4Be0ZGOhUFNaNF/BzGvmkOdRftl9frIdUw3ik+09v+O4nM0xo1d 3GtrT7FJtGiA2G4Z1/DMRCH1ZqLwIcWOHv2FjuGJzqaOe+PShg0I7eSzkHfKpfU1hX/9 Fnmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686557604; x=1689149604; 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=FdIzyYY1XPhUXau8Tsr/xKuKS/q/o23vEd6unqtx3FA=; b=Xoh+n0i4lFo6XorcP9lc6EnSC8J9eavc2idDolMJba+WdCfQ30JMGz6RU3/lZLuyEf IiBgiLJEZ637SCmHVKkU5mv8OWsi5jPGBPFrT5MkHjE2CDxf+VzbuPdw/y7Lw+oSB+O0 hU2HqfUGbffWKsc7ucM+D5ZjpMyevDZyfhHe5BcOBnbUYnVcBMh9bOx7zHNwvUllqQfb ioaUUln8V+WAsWn++AaG3yLdm/Trce6Y8pSTR8TJantB/5ycw6KVMsjR69TgexMUkBuD EQri34egEHnXAw5kCxmzSHXW24uJSarw0fBF5GAMp5xaWedQJkPB6e+73rrWiC8hXTly dBjQ== X-Gm-Message-State: AC+VfDwCpSP6VwRExEOgcsmFJ65LekUaLkq0to+vnphp0hgTJdpNCiNs GOWCtYQZqmCHKUeQZnimO4lf2DOsdmLDUqH3ON8= X-Google-Smtp-Source: ACHHUZ7omvjuhH6kEn2oW81kqH4ibgTp55RitEZoWnvTLLv1p/PULa3t9vU1CcZg7H6LhoeeD+tsUg== X-Received: by 2002:a05:600c:2255:b0:3f8:11f6:69ff with SMTP id a21-20020a05600c225500b003f811f669ffmr3304420wmm.10.1686557604497; Mon, 12 Jun 2023 01:13:24 -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 m9-20020a056000008900b0030ae499da59sm11637390wrx.111.2023.06.12.01.13.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jun 2023 01:13:24 -0700 (PDT) From: Rui Miguel Silva To: u-boot@lists.denx.de Cc: Simon Glass , Tom Rini , Ilias Apalodimas , Rui Miguel Silva Subject: [PATCH v3 3/6] corstone1000: add fwu-metadata store info Date: Mon, 12 Jun 2023 09:09:17 +0100 Message-ID: <20230612081314.723786-4-rui.silva@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230612081314.723786-1-rui.silva@linaro.org> References: <20230612081314.723786-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>;