On Wed, Sep 25, 2019 at 10:13 PM Simon Glass <[email protected]> wrote: > > 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 <[email protected]> > --- > In general it seems to be bad form to include parts of headers > conditionally. > > Changes in v2: None > > include/efi_loader.h | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) >
Reviewed-by: Bin Meng <[email protected]> _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

