]> git.baikalelectronics.ru Git - uboot.git/commit
efi: Move inline functions to unconditional part of header
authorSimon Glass <sjg@chromium.org>
Wed, 25 Sep 2019 14:11:32 +0000 (08:11 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 8 Oct 2019 05:54:12 +0000 (13:54 +0800)
commit08fd83b8050eddb1747a81d78ccaf2773afbc14e
tree39b31f556f7e997d43925337a8cdad11f0c962ac
parentb18e0c0b2a68df74ea2bd6ca6b4d4df5734e712d
efi: Move inline functions to unconditional part of header

At present these two functions are defined in efi_loader.h but only if
CONFIG_EFI_LOADER is enabled. But these are functions that are useful to
other code, such as that which deals with Intel Handoff Blocks (HOBs).

Move these to the top of the function.

Possibly ascii2unicode() should not be an inline function, since this
might impact code size.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
include/efi_loader.h