efi: Add functions for decoding the EFI tables
authorSimon Glass <sjg@chromium.org>
Tue, 4 Aug 2015 18:33:58 +0000 (12:33 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 5 Aug 2015 14:44:07 +0000 (08:44 -0600)
commit16c220d0a79feed0326c29d64e4bb482e80276d4
tree5878dc5d828457588734814af315571c78efc3d5
parent42fde30500eef6795129c3e4fda9951048c76617
efi: Add functions for decoding the EFI tables

The EFI stub can pass a table to U-Boot with information about the memory map
Potentially other things will follow. Add a way to access this table.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
lib/efi/Makefile
lib/efi/efi_info.c [new file with mode: 0644]