From patchwork Tue Nov 8 07:23:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sughosh Ganu X-Patchwork-Id: 622633 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp2752744pvb; Mon, 7 Nov 2022 23:23:56 -0800 (PST) X-Google-Smtp-Source: AMsMyM6IBYltMVDP8rTiaW+DaMRQ/TSgJvPtSPR8GQRfVkExfuiDFEwvDZXYU+KO2QDj8lkyJyBM X-Received: by 2002:a05:6402:7c4:b0:462:9bc2:d0d0 with SMTP id u4-20020a05640207c400b004629bc2d0d0mr55032375edy.122.1667892236390; Mon, 07 Nov 2022 23:23:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667892236; cv=none; d=google.com; s=arc-20160816; b=Wk/MM3nKEd00IwiJKNulUKQi307X+HETXzrW9CN7i05ajX3efUvRgSAPfy9ODFpGYD 3SvYJm/ibtG6xIt8526cbTa/vYykrhUtTAldmt6NmPAQBPzz21oEajUqgwTByOL/5N+i Xzx+5PHEOp9N3p9MEy+D8WgyBfIQd5ZfEQxi3MYslmMlBp8vVGFnTp9JKrzAiEUsecAu 6luF2WUJfc/CF1XiH+klGV28szGrmTkCIWQYL7E0OanztnBmfmEbnLXwZ6lK9IP91CnT HED1m5TsBLHNfvuoyqgSUrg/NwPW7CUtoRu08xAQKkrkDQAbwTa9WzIWo6gqBvFs5uQu 9i0A== 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:message-id:date:subject:cc:to:from; bh=pBfYXoCFah+chBXdexTEh5z+e0Ngg4dmzOh7fYDJ860=; b=IVoF2jJuPLwHE8/3aER6tuOtJYXPAlqZZcI9r31KMEHTlel0OYz2bIrgRnAvy0wZDP v7VILjlrsLiYrvn0zGXBrR6cX95OQ1nnTmAh6UlcIT6j2NZ8OpDnUC1zSvv+HjfMs7HP Ab+wFPD2AdkMIsV7X6uwF4m+UZT4mRSsTcZ31DptOpmSOGajtPAsR/HRuzboGCQniLFb HOfyNX8caLYH01jVeQvuKcjrymySpEDLaAFZw6oFmv72pmiEH+DXYcwWKKjDR7luU8tz xOYFOx/Swr8jnXGqqqpLCQ1q91Qd3Faobqvm9Bd5VmIVbOX+pp0813UveJ03l4qr+91P MGyA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (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 sa3-20020a1709076d0300b007a92b00c075si12705391ejc.891.2022.11.07.23.23.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Nov 2022 23:23:56 -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; 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=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 D1C0E84F79; Tue, 8 Nov 2022 08:23:50 +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 6543B84FCA; Tue, 8 Nov 2022 08:23:49 +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 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 2D00784F1C for ; Tue, 8 Nov 2022 08:23:47 +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 EBECD1FB; Mon, 7 Nov 2022 23:23:51 -0800 (PST) Received: from a076522.blr.arm.com (a076522.blr.arm.com [10.162.16.44]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 5EF493F73D; Mon, 7 Nov 2022 23:23:44 -0800 (PST) From: Sughosh Ganu To: u-boot@lists.denx.de Cc: Peter Robinson , Kever Yang , Tom Rini Subject: [PATCH v4 0/3] rockpi4: Add capsule update support Date: Tue, 8 Nov 2022 12:53:25 +0530 Message-Id: <20221108072328.3650871-1-sughosh.ganu@linaro.org> X-Mailer: git-send-email 2.34.1 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 Changes since V3: * s/blk_get_if_type_name/blk_get_uclass_name as the API was changed in 8149b1500d8 Sughosh Ganu (3): rockchip: capsule: Add functions for supporting capsule updates rockpi4: board: Add firmware image information for capsule updates rockpi4: capsule: Enable UEFI capsule update on RockPi4 boards arch/arm/include/asm/arch-rockchip/misc.h | 1 + arch/arm/mach-rockchip/Kconfig | 1 + arch/arm/mach-rockchip/board.c | 152 ++++++++++++++++++++++ board/rockchip/evb_rk3399/evb-rk3399.c | 55 +++++++- configs/rock-pi-4-rk3399_defconfig | 8 ++ configs/rock-pi-4c-rk3399_defconfig | 8 ++ include/configs/rk3399_common.h | 16 +++ 7 files changed, 240 insertions(+), 1 deletion(-)