From patchwork Mon Feb 12 07:47:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sughosh Ganu X-Patchwork-Id: 772042 Delivered-To: patch@linaro.org Received: by 2002:adf:9dca:0:b0:33b:4db1:f5b3 with SMTP id q10csp2001007wre; Sun, 11 Feb 2024 23:50:57 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVZFCAwpGc9Lg97to8V26dtQB7mhBzutPa/Nlf4B0GTKGBmp35MZq7Lvo0Y1EnhG3x6yLvP1kfUIpV0LC0BZ+WR X-Google-Smtp-Source: AGHT+IGgES5HxO0Ur5YBXiQ+yp4aFPwAXDQpqSssjWh+6UYOyiPOU4poLbS6O5B8tru5jEciyIYn X-Received: by 2002:a17:906:e296:b0:a3c:b9b7:8064 with SMTP id gg22-20020a170906e29600b00a3cb9b78064mr592280ejb.43.1707724257701; Sun, 11 Feb 2024 23:50:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1707724257; cv=none; d=google.com; s=arc-20160816; b=ALQoH5t6Z3Yl3/cboODcTWetLoxvB5EKwBSR23/JivU8NNWwSfcp1cq7jAYmOPsHkK w410YY4FlJxb0xFMSssfUF4i+o5wyG/7SLN3Nnwmtw0NypnaUCgp83XZcKrLqAHiMIFL XvTku8ADW6nWsrGyIoj883v1dT5Qgl6VU3P5sJ+JMxWvQAu1U9AB6FdbyznTMQFDLn/n 7DpXjkYrt5O954ZBdhB00DTMxF2FNf5IH6YijP/F/+BJvS2HHHkQZNXIVbbXj3Cq3pmq u9DC66QPP3Aiqp+s82WDBt9cqt8MCkiwpK5tZnzMdJpGD40OJ55ZWCZPTaN+eqJ3LO0d J1WA== 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; bh=cKRCXBcQ1Wf8HDcUaTXadv8JUy2PmCAyO+gXaK8vDd4=; fh=ZOj0NOIMSLPb/o/oiruexRCUQz1G0uvTWtsAgRD8WZY=; b=GbRLESFkzqf7l3xVKuggBn1u1RKfkAicrEDcP3+Sb8lya/azxOguv60KgkS/KS7shX GvnLUmsfdUlYMl6g+7HAdpEK1/wGg8NUjffCK9im0whARtZDSWGx9fhEYamYgyy+PCjz HJT5SZggouhD+RiyrjxTugeyYVVm0fGKlBhGeOBsRPDcpc8KCYw+cCVDi1QJYaa3s5kt MqJxa9r9oiJJiknWvk3L0X4rD41y28yxEmWgksSOhZpg8rtseSpSeZlZfWI0s34mnkSI yLUH6Vew2L+fATk2Gx2hk1a7q4ROT++Ii5ct/b8nWgwDdIW8e+dbit9wJ8JgERw1zXPP IpWA==; darn=linaro.org ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=1; AJvYcCWYJh7wqPDvAvxHxHi0dRcVaKS9X60eWfZ709n2tKxn2NKY/cYg3/BtzmDqxc8YNo2Oc/M/xLgDo4pDKQuTZxTjEdZzLVpl8LQecOXW7WDhjyBWfUGYMlY4EeAGz1xUwTTcKXACpIAyQcbhz+zhYCOnqnKArZqZw/uod6ovpwg0JuldERFw0mRyCVpZQN0NdTkJbTJ+gHRJlzOceMVD4eB31L1ViVTXTFoNl4t5qFetZMThfUjCJc3KMt3kL2bO7EZYA2jmWyuhH879i2xauFe0N9JTf75WVlcU2zqgNxO4fTgoQ29U3jdqsGxIIDI3cwuuoIBLZPN13R7tnP5iKfUz4pU9P/8zSzwJK5IfVZbvmMmWoTf7i8id16AeuS59WCiO8xU0igCEKXiE/dHhbXBzx4sy9E1i53/kcTVoxCvMGgottHeyxU+F+0qldJWHQuZxsQe0W+qU0pTcD+BiKJm0eIuJgxMdX7L+sXeca/P952gScYpZAGKG7yJ69MLW2TFW6XxM54bSoCqSUdgOu3Fw/1LaBAth0hruLkXcE0RxkM771vjMmwkErP8Szt1zGeq5hU8ifgwo5svDP+S1QFqj+loe7hE4dgjCXzS2yd8gjwthnxxm4Z8ApHxs8OQf5PGkjEqC+b4ncYZmJox+vh6NP1Y5g4AYlrNv9CRXpy5Q8H0135TQmtnFU758sLVcrUe9K8KpX4N7DTHODQ4MNLpNDUMQK3PrBzmhfmXsohbAH08t2RL/bvKiverR6YbjcfW9kIFlJrkC6t0v/cBczyOs9ja5KGJL9zRmQSl4PAl0tz3X90TLX2Z8z9P5Gir/+rfDsf58sxOyvZypZTuGUj9mX7TIFkYki+igcjL1d4clR5g= Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id s7-20020a170906bc4700b00a3bbf7245a4si3615250ejv.599.2024.02.11.23.50.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Feb 2024 23:50:57 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (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 D73B287EF9; Mon, 12 Feb 2024 08:48:53 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id EA03387F08; Mon, 12 Feb 2024 08:48:51 +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=-1.2 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_SOFTFAIL,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by phobos.denx.de (Postfix) with ESMTP id 847D187F0E for ; Mon, 12 Feb 2024 08:48:49 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=sughosh.ganu@linaro.org Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 92AF5DA7; Sun, 11 Feb 2024 23:49:30 -0800 (PST) Received: from a079122.blr.arm.com (a079122.arm.com [10.162.17.48]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id C61C43F762; Sun, 11 Feb 2024 23:48:45 -0800 (PST) From: Sughosh Ganu To: u-boot@lists.denx.de Cc: Heinrich Schuchardt , Ilias Apalodimas , Masahisa Kojima , Patrice Chotard , Patrick Delaunay , Yann Gautier , Etienne Carriere , Michal Simek , Jassi Brar , Sughosh Ganu Subject: [PATCH v2 20/21] configs: fwu: re-enable FWU configs Date: Mon, 12 Feb 2024 13:17:11 +0530 Message-Id: <20240212074712.3657076-21-sughosh.ganu@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240212074712.3657076-1-sughosh.ganu@linaro.org> References: <20240212074712.3657076-1-sughosh.ganu@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 Now that the migration to the FWU metadata version 2 is complete, the feature can be re-enabled on platforms which had it enabled. Signed-off-by: Sughosh Ganu --- Changes since V1: None configs/corstone1000_defconfig | 2 ++ configs/sandbox64_defconfig | 1 + configs/synquacer_developerbox_defconfig | 3 +++ 3 files changed, 6 insertions(+) diff --git a/configs/corstone1000_defconfig b/configs/corstone1000_defconfig index c26a621175..a86ac12732 100644 --- a/configs/corstone1000_defconfig +++ b/configs/corstone1000_defconfig @@ -25,6 +25,7 @@ CONFIG_BOARD_LATE_INIT=y CONFIG_SYS_PROMPT="corstone1000# " CONFIG_SYS_MAXARGS=64 # CONFIG_CMD_CONSOLE is not set +CONFIG_CMD_FWU_METADATA=y CONFIG_CMD_BOOTZ=y # CONFIG_CMD_XIMG is not set CONFIG_CMD_GPT=y @@ -67,3 +68,4 @@ CONFIG_FFA_SHARED_MM_BUF_OFFSET=0 CONFIG_FFA_SHARED_MM_BUF_ADDR=0x02000000 CONFIG_EFI_CAPSULE_ON_DISK=y CONFIG_EFI_IGNORE_OSINDICATIONS=y +CONFIG_FWU_MULTI_BANK_UPDATE=y diff --git a/configs/sandbox64_defconfig b/configs/sandbox64_defconfig index 2863f9b189..d101cca6a7 100644 --- a/configs/sandbox64_defconfig +++ b/configs/sandbox64_defconfig @@ -273,6 +273,7 @@ CONFIG_EFI_CAPSULE_ON_DISK=y CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y CONFIG_EFI_SECURE_BOOT=y CONFIG_TEST_FDTDEC=y +CONFIG_FWU_MULTI_BANK_UPDATE=y CONFIG_UNIT_TEST=y CONFIG_UT_TIME=y CONFIG_UT_DM=y diff --git a/configs/synquacer_developerbox_defconfig b/configs/synquacer_developerbox_defconfig index 616d410074..1bb55be0a7 100644 --- a/configs/synquacer_developerbox_defconfig +++ b/configs/synquacer_developerbox_defconfig @@ -17,6 +17,7 @@ CONFIG_SYS_BOOTM_LEN=0x800000 CONFIG_BOOTSTAGE_STASH_SIZE=4096 CONFIG_HUSH_PARSER=y CONFIG_SYS_MAXARGS=128 +CONFIG_CMD_FWU_METADATA=y CONFIG_CMD_IMLS=y CONFIG_CMD_ERASEENV=y CONFIG_CMD_NVEDIT_EFI=y @@ -51,6 +52,7 @@ CONFIG_DFU_TFTP=y CONFIG_DFU_MTD=y CONFIG_DFU_RAM=y CONFIG_DFU_SF=y +CONFIG_FWU_MDATA_MTD=y CONFIG_DM_I2C=y CONFIG_SYS_I2C_SYNQUACER=y CONFIG_MMC_SDHCI=y @@ -93,3 +95,4 @@ CONFIG_EFI_RUNTIME_UPDATE_CAPSULE=y CONFIG_EFI_CAPSULE_ON_DISK=y CONFIG_EFI_IGNORE_OSINDICATIONS=y CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y +CONFIG_FWU_MULTI_BANK_UPDATE=y