From patchwork Fri Jul 22 17:43:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jassi Brar X-Patchwork-Id: 592481 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:b811:0:0:0:0 with SMTP id fc17csp711079mab; Fri, 22 Jul 2022 10:44:41 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vA61djIn3QN4gRsQgcauvMMt3hyX0PCLEuGeh38/VZhTQBYF6Uiu7S09opESEWjXosCcdH X-Received: by 2002:a05:6638:dd1:b0:341:55c2:38b6 with SMTP id m17-20020a0566380dd100b0034155c238b6mr537523jaj.245.1658511881033; Fri, 22 Jul 2022 10:44:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658511881; cv=none; d=google.com; s=arc-20160816; b=D6T81QLSG16D+XZOQHC6ff31H/aJWcGe4ime3mkjUEu4qrnW+wskgXDEXxg0789PLJ inykeRHEhjTcDepWcLP9ujUBrGEoCFXahxNfEILRlaOEqYNFN+vhyXJ1ZcwOEvo0sAU1 1qLi3PmHYPPkgh0px5RwKZJUXyO0ev1uyVDmW4buCjguvbPQlBwz0XLCgryNDUWtBioX wD3SsqPMVd/Su5PwQicMH9WyBbv8KlT1epgx4QpLz2SxijYddqhDPWq92b+65XR7L1ag Q8llFRf9Y3BoC7IgHAIHmiogubH2iWHm0GeZ/aq2PTZXoIbDtJJsK+XUwewERM/+hsiz bujw== 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=lmQqVx6EVDCL+Zesf7VuDeCxJ6UTU7RyQNgyN2hXD1Q=; b=xy8/fHlkcOL8u1hrP1R/sABGjz0yUCWYyMnAQpR8N/gBGaqBIQoPZ+5wvyPYPCNR5W ferDCJ/3N6Zgnv2cYQJKxEVoioQWvIB5Fvwgi0z0QncHFoJ2OxbatmD8/iWJ/UugDuxO UgigAKE1KAAEku4G7X+Cg3sOgN9Bu0gMptHROm8m86A8uDg8vmmghVxqp6la2K8gKn1j 5diVsgwdULBrrzF3sLtrrnz5+JJhe6apry/L7Hjm0Hv524TfEruiz8n42PTFYjYEjezT Ht0hfG5sMG2VqelZ6P3ZkwgPRi7Nnl0TmLNTYH4XWFxp4yt7j9ayYZOUZB0a7TJpkIlO mvcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Oe8dlrN+; 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=QUARANTINE dis=NONE) header.from=gmail.com 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 m26-20020a026a5a000000b003403cc95d86si4015983jaf.67.2022.07.22.10.44.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Jul 2022 10:44:41 -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=@gmail.com header.s=20210112 header.b=Oe8dlrN+; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4FBBC83FC2; Fri, 22 Jul 2022 19:44:26 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com 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=gmail.com header.i=@gmail.com header.b="Oe8dlrN+"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A375884039; Fri, 22 Jul 2022 19:44:21 +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,FREEMAIL_FROM,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-io1-xd35.google.com (mail-io1-xd35.google.com [IPv6:2607:f8b0:4864:20::d35]) (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 2D89C840FE for ; Fri, 22 Jul 2022 19:44:15 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jassisinghbrar@gmail.com Received: by mail-io1-xd35.google.com with SMTP id n7so4155754ioo.7 for ; Fri, 22 Jul 2022 10:44:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lmQqVx6EVDCL+Zesf7VuDeCxJ6UTU7RyQNgyN2hXD1Q=; b=Oe8dlrN+fuLmGjjWDEHhXaDswxu+zAMFAiwY0TBLIuXVcyBt6F5KcEXBXLXo5IXWYe oNB1wm7Z+1Le6GpttJvY0vg3ywbWTdU5f7ZEgGu2qF2Ej2WGfNiIGVI3GcMjiLpI7jfQ ScA9pgKb6LbUv72ncs1qK5dXaoxvqAf2X5V7i9gQGDkVksePu7lgp8YiGlA5VCod3ddv CDd+7opYIX3AprEWFHQEnrixJsjHlt+eRO4izm0kPK3S0NT5Ma8myqe0xQdXt6A0n3Fg gjPo6TdiznkoIocCzux3sosZgou5kb6Q9Zewh/gYs2uZavivUL5bFk9Ii4UYmbDiMMiy BmIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lmQqVx6EVDCL+Zesf7VuDeCxJ6UTU7RyQNgyN2hXD1Q=; b=MTgG5F65bKrGVBodaYdYhUmbUCYTpLxg9RWQ+BX3tyKzVir5ckh0HvZ2GemjcaH8id TcKP1AFHLtB3AISCOYJct41PFLMX48Y4D1vVVbvgKcFYvghQ+aXD2ydQ7IJKaLA71RV0 TRfsrof6utnE+2YkC3pfJLh/1RBfRDOS5ARqz4Xx8PL0BZ4E8zSHDqJboKtxA9EY9gl8 POJG3v2r7pryKh5dnMMcjd9kwqDYsvAqCGjQMGPnOgKjSFlKxLVlyxeICkHJWwsc2epQ 1glDDqcDqHsZ1XY28pbS2H2T6kLAV2G0APyc9ikm0yBL5m6xzA1YEXyXz4uQ6TRgup4t q7Rg== X-Gm-Message-State: AJIora/LqN5Dy51T1EPQI/flhNj1zXycU2Xr9nEt4qZXT9At8pAXotzh uZR75F125lnT2Q/Iv21ywAlKvfoJMtA= X-Received: by 2002:a02:1607:0:b0:33f:3af8:61e3 with SMTP id a7-20020a021607000000b0033f3af861e3mr521095jaa.307.1658511854364; Fri, 22 Jul 2022 10:44:14 -0700 (PDT) Received: from localhost.localdomain (wnpgmb0311w-ds01-179-115.dynamic.bellmts.net. [206.45.179.115]) by smtp.gmail.com with ESMTPSA id s26-20020a02c51a000000b00339eedc7840sm2242348jam.94.2022.07.22.10.44.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Jul 2022 10:44:13 -0700 (PDT) From: jassisinghbrar@gmail.com To: u-boot@lists.denx.de Cc: xypron.glpk@gmx.de, ilias.apalodimas@linaro.org, takahiro.akashi@linaro.org, patrick.delaunay@foss.st.com, patrice.chotard@foss.st.com, sjg@chromium.org, bmeng.cn@gmail.com, trini@konsulko.com, etienne.carriere@linaro.org, monstr@monstr.eu, Jassi Brar , Masami Hiramatsu Subject: [PATCH 4/5] dt: fwu: developerbox: enable fwu banks and mdata regions Date: Fri, 22 Jul 2022 12:43:18 -0500 Message-Id: <20220722174319.64006-5-jassisinghbrar@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220722174319.64006-1-jassisinghbrar@gmail.com> References: <20220722174240.63935-1-jassisinghbrar@gmail.com> <20220722174319.64006-1-jassisinghbrar@gmail.com> 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.6 at phobos.denx.de X-Virus-Status: Clean From: Jassi Brar specify Bank-0/1 and fwu metadata mtd regions. Signed-off-by: Masami Hiramatsu Signed-off-by: Jassi Brar --- .../synquacer-sc2a11-developerbox-u-boot.dtsi | 22 ++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/synquacer-sc2a11-developerbox-u-boot.dtsi b/arch/arm/dts/synquacer-sc2a11-developerbox-u-boot.dtsi index 7a56116d6f..62eee0aaf0 100644 --- a/arch/arm/dts/synquacer-sc2a11-developerbox-u-boot.dtsi +++ b/arch/arm/dts/synquacer-sc2a11-developerbox-u-boot.dtsi @@ -23,7 +23,7 @@ active_clk_edges; chipselect_num = <1>; - spi-flash@0 { + spi_flash: spi-flash@0 { #address-cells = <1>; #size-cells = <1>; compatible = "jedec,spi-nor"; @@ -36,6 +36,7 @@ compatible = "fixed-partitions"; #address-cells = <1>; #size-cells = <1>; + uuid = "17e86d77-41f9-4fd7-87ec-a55df9842de5"; partition@0 { label = "BootStrap-BL1"; @@ -79,6 +80,19 @@ label = "Ex-OPTEE"; reg = <0x500000 0x200000>; }; + + /* FWU Multi bank update partitions */ + partition@600000 { + label = "FIP-Bank0"; + reg = <0x600000 0x400000>; + uuid = "5a66a702-99fd-4fef-a392-c26e261a2828"; + }; + + partition@a00000 { + label = "FIP-Bank1"; + reg = <0xa00000 0x400000>; + uuid = "a8f868a1-6e5c-4757-878d-ce63375ef2c0"; + }; }; }; }; @@ -104,6 +118,12 @@ optee { status = "okay"; }; + + fwu-mdata { + compatible = "u-boot,fwu-mdata-mtd"; + fwu-mdata-store = <&spi_flash>; + mdata-offsets = <0x500000 0x530000>; + }; }; };