]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: bootmgr: add load option helper functions
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Mon, 5 Nov 2018 09:06:41 +0000 (18:06 +0900)
committerAlexander Graf <agraf@suse.de>
Sun, 2 Dec 2018 23:17:45 +0000 (00:17 +0100)
commitf6c672476ff282bf322b7108f11712bf801e7e76
treead61ae43a96fa79255afa4206f94b2462ddbe9ee
parent04a34a9dea311e68315957624464e2d171e40706
efi_loader: bootmgr: add load option helper functions

In this patch, helper functions for an load option variable (BootXXXX)
are added:
* efi_deserialize_load_option(): parse a string into load_option data
(renamed from parse_load_option and exported)
* efi_serialize_load_option(): convert load_option data into a string

Those functions will be used to implement efishell command.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
include/efi_loader.h
lib/efi_loader/efi_bootmgr.c