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>
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
|
||||
ifndef CONFIG_SPL_BUILD
|
||||
|
||||
obj-$(CONFIG_EFI) += efi/
|
||||
obj-$(CONFIG_RSA) += rsa/
|
||||
obj-$(CONFIG_LZMA) += lzma/
|
||||
obj-$(CONFIG_LZO) += lzo/
|
||||
|
||||
Reference in New Issue
Block a user