From: Ilias Apalodimas <ilias.apalodimas@linaro.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 6/7] cmd: efidebug: make some boot variables non-volatile
Date: Tue, 11 Jun 2019 13:20:25 +0300 [thread overview]
Message-ID: <20190611102025.GA945@apalos> (raw)
In-Reply-To: <20190604065211.15907-7-takahiro.akashi@linaro.org>
On Tue, Jun 04, 2019 at 03:52:10PM +0900, AKASHI Takahiro wrote:
> Boot####, BootOrder and BootNext should be non-volatile.
>
> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
> Reviewed-by: Heinrich Schuchardt
> ---
> cmd/efidebug.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/cmd/efidebug.c b/cmd/efidebug.c
> index c4ac9dd634e2..e65722625455 100644
> --- a/cmd/efidebug.c
> +++ b/cmd/efidebug.c
> @@ -558,6 +558,7 @@ static int do_efi_boot_add(cmd_tbl_t *cmdtp, int flag,
> }
>
> ret = EFI_CALL(RT->set_variable(var_name16, &guid,
> + EFI_VARIABLE_NON_VOLATILE |
> EFI_VARIABLE_BOOTSERVICE_ACCESS |
> EFI_VARIABLE_RUNTIME_ACCESS,
> size, data));
> @@ -909,6 +910,7 @@ static int do_efi_boot_next(cmd_tbl_t *cmdtp, int flag,
> guid = efi_global_variable_guid;
> size = sizeof(u16);
> ret = EFI_CALL(RT->set_variable(L"BootNext", &guid,
> + EFI_VARIABLE_NON_VOLATILE |
> EFI_VARIABLE_BOOTSERVICE_ACCESS |
> EFI_VARIABLE_RUNTIME_ACCESS,
> size, &bootnext));
> @@ -964,6 +966,7 @@ static int do_efi_boot_order(cmd_tbl_t *cmdtp, int flag,
>
> guid = efi_global_variable_guid;
> ret = EFI_CALL(RT->set_variable(L"BootOrder", &guid,
> + EFI_VARIABLE_NON_VOLATILE |
> EFI_VARIABLE_BOOTSERVICE_ACCESS |
> EFI_VARIABLE_RUNTIME_ACCESS,
> size, bootorder));
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
next prev parent reply other threads:[~2019-06-11 10:20 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-04 6:52 [U-Boot] [PATCH v3 0/7] efi_loader: non-volatile variables support AKASHI Takahiro
2019-06-04 6:52 ` [U-Boot] [PATCH v3 1/7] env: save UEFI non-volatile variables in dedicated storage AKASHI Takahiro
2019-06-04 21:09 ` Heinrich Schuchardt
2019-06-05 0:36 ` AKASHI Takahiro
2019-06-11 10:59 ` Ilias Apalodimas
2019-06-12 5:23 ` AKASHI Takahiro
2019-06-04 6:52 ` [U-Boot] [PATCH v3 2/7] efi_loader: variable: support non-volatile attribute AKASHI Takahiro
2019-06-04 21:15 ` Heinrich Schuchardt
2019-06-04 6:52 ` [U-Boot] [PATCH v3 3/7] efi_loader: variable: split UEFI variables from U-Boot environment AKASHI Takahiro
2019-06-04 21:31 ` Heinrich Schuchardt
2019-06-05 0:48 ` AKASHI Takahiro
2019-06-04 6:52 ` [U-Boot] [PATCH v3 4/7] efi_loader: load saved non-volatile variables at init AKASHI Takahiro
2019-06-04 21:38 ` Heinrich Schuchardt
2019-06-05 0:58 ` AKASHI Takahiro
2019-06-04 6:52 ` [U-Boot] [PATCH v3 5/7] efi_loader: bootmgr: make BootNext non-volatile AKASHI Takahiro
2019-06-04 21:46 ` Heinrich Schuchardt
2019-06-11 10:19 ` Ilias Apalodimas
2019-06-04 6:52 ` [U-Boot] [PATCH v3 6/7] cmd: efidebug: make some boot variables non-volatile AKASHI Takahiro
2019-06-04 21:45 ` Heinrich Schuchardt
2019-06-11 10:20 ` Ilias Apalodimas [this message]
2019-06-04 6:52 ` [U-Boot] [PATCH v3 7/7] cmd: env: add -nv option for UEFI non-volatile variable AKASHI Takahiro
2019-06-04 21:53 ` Heinrich Schuchardt
2019-06-25 6:47 ` [U-Boot] [PATCH v3 0/7] efi_loader: non-volatile variables support Wolfgang Denk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190611102025.GA945@apalos \
--to=ilias.apalodimas@linaro.org \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox