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: 691624 Delivered-To: patch@linaro.org Received: by 2002:a5d:4d91:0:0:0:0:0 with SMTP id b17csp16908wru; Mon, 12 Jun 2023 01:14:22 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6W8Veqa2+pDxFrBisMwIjv/5/Yxhf67WkG1x/IfRPMgXLj5k+BYc/gHxV3O6IjwQt++nQD X-Received: by 2002:a17:903:22c9:b0:1ad:fcdc:2a9f with SMTP id y9-20020a17090322c900b001adfcdc2a9fmr5990888plg.51.1686557661749; Mon, 12 Jun 2023 01:14:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686557661; cv=none; d=google.com; s=arc-20160816; b=XLOoHOeALa5RzO5k0DmLPJL/fmJHN3rATHLSC2RmnU9rVAfanVbwZAlBuPK3pombWG KRvqFc2vppBfa3t4zJuzcyhX2y8JQoaGdlbeKg8LgmdsXjWkPOdKXP/d+W/72zQVR2x2 3Jk3fqlw9KcqpvGeunkTjpbirftPgm0EIzhEZswRxxz5HAoeWRi08YfnK7E9ri7rWLCS TkvGEVbgxpHcO91VMd+P2XeNkfzHcAHdgrxzDDP7mq2O+K7IR1NsdSraVcY0Wr0ahjfD jD3oS/FT2WpeaDpK00wq9Lsnmo55mR+2R8IHXEYnQnk43EcszsJdFPU3bc+Vn/bA7292 Eq2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=FdIzyYY1XPhUXau8Tsr/xKuKS/q/o23vEd6unqtx3FA=; b=KJ0Vyc+VRlX7b6J5zBETDGLKmpYxGXytXIuNDY+A2plpwqAbPWa0YQVm+xSeZ8lerN txlz956qHh9c23YtDDlvuoCXVoWbfRySBKQdfr3ad9yP6GGOTg5wBHFnBjyXpV/JKuGP ToKWuM8dfeywaTLsqXeV1f6WT+j0/w342jeS3QUD5w5jgP9Nav+0xpbhfrXPqWFSoFr+ kUJ7vWYCOHqHcPYTzRUpZQLcKVfem7IsjUsYYm103U97fuINLHZQd1oZln7yMK/2cEuC Nnwslxq0x/ZlUJYsak3sS/6AVFRVtYPdNzOqxEXpCCW4+03WCBRIx+PtVDwo2SjYmu1E y3gA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FSrMY6KG; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id i14-20020a17090332ce00b001b3dc9f2a64si235786plr.69.2023.06.12.01.14.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jun 2023 01:14:21 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FSrMY6KG; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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-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>;