efi: Add start-up library code
authorSimon Glass <sjg@chromium.org>
Fri, 31 Jul 2015 15:31:36 +0000 (09:31 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 5 Aug 2015 14:42:41 +0000 (08:42 -0600)
commit867a6ac86dd823de409752e9ca5dc8f4d4880f26
treed9b3bbaeae3cc0ade351850c0110fc6b92d5c808
parent8f3b9694b217b7083fcbc44d7a28c16185c0c579
efi: Add start-up library code

When running as an EFI application, U-Boot must request memory from EFI,
and provide access to the boot services U-Boot needs.

Add library code to perform these tasks. This includes efi_main() which is
the entry point from EFI. U-Boot is built as a shared library.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/include/asm/fsp/fsp_hob.h
include/efi.h [new file with mode: 0644]
include/efi_api.h [new file with mode: 0644]
include/part_efi.h
lib/Kconfig
lib/Makefile
lib/efi/Kconfig [new file with mode: 0644]
lib/efi/Makefile [new file with mode: 0644]
lib/efi/efi.c [new file with mode: 0644]
lib/efi/efi_app.c [new file with mode: 0644]