From patchwork Mon Jan 9 01:07:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jassi Brar X-Patchwork-Id: 640555 Delivered-To: patch@linaro.org Received: by 2002:a17:522:f3c4:b0:4b4:3859:abed with SMTP id in4csp1903872pvb; Sun, 8 Jan 2023 17:07:22 -0800 (PST) X-Google-Smtp-Source: AMrXdXtfSy06AQmL/MLdn822eKiOXlLjlWU1YQl2WsCXce4MFbyGrtsIz0+34TjSUJT18fAbku7G X-Received: by 2002:a05:6830:55:b0:670:61f7:6457 with SMTP id d21-20020a056830005500b0067061f76457mr32213214otp.29.1673226442741; Sun, 08 Jan 2023 17:07:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673226442; cv=none; d=google.com; s=arc-20160816; b=dBnk1J81IT8Q43elnXWr9VZ9tMMpBodoEM1ehwKPTX7J/esP4YTIQC2gcLsRYUS/Uo I5kYyOCL7CBaXYwKe1qth+GcDB6c5p4p8gJwYr65vk7UFyO0tWcXQp3q/uIoQxhkr4GS K+DcDi4zo055sNX3Y63E4Y9sK8a7Caxxk4YpCW2Ei7WY+WR/hmHkwsEpXatMHSpxN5iU w8v4Nk2LROamB/G1Poj1GDooXx8B7xKrhDG/RNVotQAhJBvdV8dtxihakaWfliqW3I/D nQG4KblzAWfrQ2k4JTr4IUIEKQppCXYQwCUvx6GEL/llRV8oEok+Ggt+AZua2mbyMRO4 XU+Q== 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=9yLezMasoQ4AoEqXOvGtZB63zneL/bwFkAHf5U/QudQ=; b=MdHm8y16sacrWbTbc8N02R4G4m0hExBaY2NwPXY+NnYO2fmuWRqhh2XMI+Nm6zDtWq OXB6ufb39tqdtXv/ttifLLsx+tOtnnPU/pRQXSfSrOO0GNSNPJ1NQZzb5blt8LU4A2Mk JCMgBHnMkk/GF6zU11c8KDF4EbPQKd3NIA7XOOXK4daDp3bZygP/LRAF4CUHT2xsWwzu PtXLfpELPVU94sfJGB9raxycRnqED+7BZvHVsLTb+0qGzsRaaFNpKSqpop0IjaWFs7dW y4FlEGFiPkO+lLPzqGHPIcRpmS4dXK0sU1tyZ9wWdtzip0ozHBusma9bpD2puywTzCkA FFVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=B4TuMak7; 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 s38-20020a0568302aa600b00661e60b4e67si6991048otu.212.2023.01.08.17.07.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 Jan 2023 17:07:22 -0800 (PST) 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=B4TuMak7; 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 254A78555D; Mon, 9 Jan 2023 02:07:20 +0100 (CET) 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="B4TuMak7"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 172F185520; Mon, 9 Jan 2023 02:07:11 +0100 (CET) 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-il1-x12f.google.com (mail-il1-x12f.google.com [IPv6:2607:f8b0:4864:20::12f]) (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 CC3288544F for ; Mon, 9 Jan 2023 02:07:07 +0100 (CET) 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-il1-x12f.google.com with SMTP id o13so4208231ilc.7 for ; Sun, 08 Jan 2023 17:07:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=9yLezMasoQ4AoEqXOvGtZB63zneL/bwFkAHf5U/QudQ=; b=B4TuMak74UIH+KD4FT1/fzPpDlJpRQzt6JWqdhCd9sAUEzkEeaJ/qCqCqFhzEGIlQ6 gKU+q4YdWKv6oxZLhiww+yp+dND95DliOnuqCumskn5PeSSwZeVr8GCrINgvTNO7M/EX H9ldesEnCiyqbB8p2LBP8R4O+KGlf6IVFPrEfKG6bDgbp4r5iJD+knGBbX5JNuvvtQAk w3oXGEiPrpsx4Nr0ykrALUd82/SWeg2WUQkm3gE9ct7nn+FlPxwHymMn2FS4nrdJigKJ BSzSELMx+6+zUKlYrDZqBKtH76kjzkl9LUlQKrXL0fZOZRGziyY7nr9It7gfq5CnUJII 4hnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=9yLezMasoQ4AoEqXOvGtZB63zneL/bwFkAHf5U/QudQ=; b=P8G8mxbRTnHJyr5aqdLZhe0lHF7qAi7C5l0ocFgZjQ7igdKzALWLMnU/nILglkmv6l gM17xq7e/0QkxQuUgbCctAInoaVOb5lNEaATF3Mvj8FQB14+L+WITh7ybfwYiG6jXJEF gMG4Nv14qX/FFE3hGSjbp+ua7Yw65ly3mW6FGAT7BfCTa0GmkR0bpjKEXKcTNMpf8VEX zfBYiklLoklsKaFl1aYfI3WwGYoAmldakbATOoS6L+t+WGmAWO37XH9kvbTKS3fpT1bI y9chcigQH54AkgwevWYOa+Lv95gJ9xSu2mCj00hMA2wnsH3tbk2f5TvINxmCp3KuLQ4e 4xTg== X-Gm-Message-State: AFqh2kpKgOgwyvmFjgXOz09wpAVm+IImRtZ31oLR0P7QBzgdft+RTcy3 izAJEITnlGLFD1YPQ8lB5JJJsPpbIag= X-Received: by 2002:a92:c98e:0:b0:304:c91b:4a5c with SMTP id y14-20020a92c98e000000b00304c91b4a5cmr39192717iln.24.1673226426187; Sun, 08 Jan 2023 17:07:06 -0800 (PST) Received: from jassi-Alienware-x17-R2.. (wnpgmb0311w-ds01-45-177-228.dynamic.bellmts.net. [206.45.177.228]) by smtp.gmail.com with ESMTPSA id g5-20020a05663810e500b0037556012c63sm2321899jae.132.2023.01.08.17.07.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 Jan 2023 17:07:05 -0800 (PST) From: Jassi Brar X-Google-Original-From: Jassi Brar To: u-boot@lists.denx.de Cc: ilias.apalodimas@linaro.org, etienne.carriere@linaro.org, trini@konsulko.com, sjg@chromium.org, sughosh.ganu@linaro.org, xypron.glpk@gmx.de, takahiro.akashi@linaro.org, Jassi Brar Subject: [PATCHv3 3/5] dt: fwu: developerbox: enable fwu banks and mdata regions Date: Sun, 8 Jan 2023 19:07:02 -0600 Message-Id: <20230109010702.578523-1-jaswinder.singh@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230109010601.578439-1-jaswinder.singh@linaro.org> References: <20230109010601.578439-1-jaswinder.singh@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.6 at phobos.denx.de X-Virus-Status: Clean Specify Bank-0/1 and fwu metadata mtd regions. Signed-off-by: Jassi Brar Acked-by: Ilias Apalodimas --- .../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>; + }; }; };