[PATCH v4 2/2] efi_loader: Reset system after CapsuleUpdate on disk

Masami Hiramatsu masami.hiramatsu at linaro.org
Wed Mar 2 02:58:47 CET 2022


Hi Simon,

2022年3月1日(火) 23:58 Simon Glass <sjg at chromium.org>:
>
> Hi Masami,
>
> On Mon, 28 Feb 2022 at 00:53, Masami Hiramatsu
> <masami.hiramatsu at linaro.org> wrote:
> >
> > Hi Simon,
> >
> > BTW, I saw the below code in the sysreset-uclass.c. It seems if I pass
> > 0 to argc, it seems to do SYSRESET_COLD, isn't it?
>
> Yes, but we should use the driver interface to do things, not the
> command-line interface :-)

OK, I got it. So something like this attached patch?
(This is for the next branch)

Thank you,


-- 
Masami Hiramatsu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-efi_loader-Use-sysreset-instead-of-reset-command.patch
Type: text/x-patch
Size: 1176 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220302/e5d45445/attachment.bin>


More information about the U-Boot mailing list