From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 70980C433FE for ; Fri, 14 Oct 2022 07:33:14 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7FB8484CEC; Fri, 14 Oct 2022 09:33:12 +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="vvw3Ng/B"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C16F584F00; Fri, 14 Oct 2022 09:33:10 +0200 (CEST) Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) (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 12FE18491C for ; Fri, 14 Oct 2022 09:33:08 +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=ilias.apalodimas@linaro.org Received: by mail-ed1-x52c.google.com with SMTP id u21so5684458edi.9 for ; Fri, 14 Oct 2022 00:33:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=ldtdB1P+rEC53a+K9N/vmfUZTetVG5CVtnp8aZQyeHA=; b=vvw3Ng/B7trajDyIohd7WqcrFUSGyo4vTkjTk055/ldQIhKR4tYUSwTtLYDHyqt0Ol ixe/cvIknI0lUhowRA/QJMEhFOeHLsYopIQeIs5ydsPcU5VyTONOLHodhp6rk6gddF5z o3m1VPHQjrvUO/7BzMYPW0Cq2GVul31sJK0iKLFuRBYIEhKLtEd++N6/oKNBTzW04Q9i uIVpjLYgUGRssQuoR052ERUtKkxi1kbqPPxYZTyR2AMeNVM6nGNRLtNvvtcjpgB2s9m3 YpEn7wx59a244Pl4gw3kHrs96PqpFvnbY+/pn9KvQ1NJCpg5x+aUySRRSpMj6VxL6az0 j3eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=ldtdB1P+rEC53a+K9N/vmfUZTetVG5CVtnp8aZQyeHA=; b=WcN6mIABko4YZoTYnQQ9yb6ol13KGNrfnNWGm+tnUqu40rrQcv5HQWETkfN6lzxjvF 9n90NHmGyUX5IChCFt42LeGfMVds+RqlsAOJSf4y+Lmpu2drCaAsIV+rHP7cC3Hxv1AQ Kwa58Mi/TyV3FLZWNtUTOkPSvAiaOxihm9Z8mGBP/IK1CYIhSCqrdCuL4rk1fwscgtAM xy+Qgo8YTWjcY58THgZ1FA8WjAOEA0HyvmgMpmb/1nZ/aL3ihwN067xQi6QPGBtv6A9K 1NilB4KgxJn5U1zWXaN/UsDr63lmIEjFkM6Ksn0u+nY2KlMm6vplJlX4914hxt5R/v5f q14Q== X-Gm-Message-State: ACrzQf1TQvzRn87g+N1Kbkx6j51UPVGZduaScVa/02Yzaz2o8k7jD4oV RhEeosMudtHyRx73+Pqax73xzg== X-Google-Smtp-Source: AMsMyM6nmQTWclUf4mdvbRs+KjAVxYo+zs/s47+KkP9eoKh0XxqJuXwV6XEV0UHp473e0n17zSXPkQ== X-Received: by 2002:a05:6402:b5a:b0:458:f4c6:8039 with SMTP id bx26-20020a0564020b5a00b00458f4c68039mr3171007edb.349.1665732787641; Fri, 14 Oct 2022 00:33:07 -0700 (PDT) Received: from hera (ppp046103015185.access.hol.gr. [46.103.15.185]) by smtp.gmail.com with ESMTPSA id l18-20020a1709060cd200b00734bfab4d59sm1073134ejh.170.2022.10.14.00.33.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Oct 2022 00:33:07 -0700 (PDT) Date: Fri, 14 Oct 2022 10:33:04 +0300 From: Ilias Apalodimas To: jassisinghbrar@gmail.com Cc: u-boot@lists.denx.de, xypron.glpk@gmx.de, takahiro.akashi@linaro.org, sjg@chromium.org, trini@konsulko.com, etienne.carriere@linaro.org, monstr@monstr.eu, Masami Hiramatsu , Jassi Brar Subject: Re: [PATCHv2 3/5] dt: fwu: developerbox: enable fwu banks and mdata regions Message-ID: References: <20221002235046.344149-1-jassisinghbrar@gmail.com> <20221002235158.344362-1-jassisinghbrar@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221002235158.344362-1-jassisinghbrar@gmail.com> 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 On Sun, Oct 02, 2022 at 06:51:58PM -0500, jassisinghbrar@gmail.com wrote: > From: Masami Hiramatsu > > 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>; > + }; > }; > }; > > -- > 2.25.1 > Acked-by: Ilias Apalodimas