[U-Boot] [PATCH v6 08/10] smbios: Expose in efi_loader as table

Simon Glass
2016-08-20T23:52:39Z

On 18 August 2016 at 17:23, Alexander Graf <agraf@suse.de> wrote:
> We can pass SMBIOS easily as EFI configuration table to an EFI payload. This
> patch adds enablement for that case.
>
> While at it, we also enable SMBIOS generation for ARM systems, since they support
> EFI_LOADER.
>
> Signed-off-by: Alexander Graf <agraf@suse.de>
> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
>
> ---
>
> v1 -> v2:
>
> - Fix whitespace
>
> v2 -> v3:
>
> - Move efi smbios generation to own file
> ---
> cmd/bootefi.c | 3 +++
> include/efi_api.h | 4 ++++
> include/efi_loader.h | 2 ++
> include/smbios.h | 1 +
> lib/Kconfig | 4 ++--
> lib/efi_loader/Makefile | 1 +
> lib/efi_loader/efi_smbios.c | 32 ++++++++++++++++++++++++++++++++
> lib/smbios.c | 6 ++++++
> 8 files changed, 51 insertions(+), 2 deletions(-)
> create mode 100644 lib/efi_loader/efi_smbios.c

Reviewed-by: Simon Glass <sjg@chromium.org>