From mboxrd@z Thu Jan 1 00:00:00 1970 From: AKASHI Takahiro Date: Thu, 7 May 2020 10:58:01 +0900 Subject: [PATCH 08/10] cmd: add "efidebug capsule" command In-Reply-To: References: <20200427094829.1140-1-takahiro.akashi@linaro.org> <20200427094829.1140-9-takahiro.akashi@linaro.org> Message-ID: <20200507015801.GG20621@laputa> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Apr 30, 2020 at 06:08:11PM +0530, Sughosh Ganu wrote: > On Mon, 27 Apr 2020 at 15:19, AKASHI Takahiro > wrote: > > > "efidebug capsule" is more or less a debugging utility. > > efidebug capsule update: invoke UpdateCapsule against data on memory > > efidebug capsule show: show a capsule header > > efidebug capsule result: dump a capsule result variable > > > > Signed-off-by: AKASHI Takahiro > > --- > > cmd/efidebug.c | 234 +++++++++++++++++++++++++++++++++++++++++++++++++ > > 1 file changed, 234 insertions(+) > > > > diff --git a/cmd/efidebug.c b/cmd/efidebug.c > > index 02ef01969443..8956fa1d50be 100644 > > --- a/cmd/efidebug.c > > +++ b/cmd/efidebug.c > > @@ -19,6 +19,227 @@ > > #define BS systab.boottime > > #define RT systab.runtime > > > > +#ifdef CONFIG_EFI_CAPSULE_UPDATE > > > > This config option is no longer used in the non-rfc series. I think this > needs to be CONFIG_EFI_HAVE_CAPSULE_SUPPORT. Correct. Thanks, -Takahiro Akashi > -sughosh