
5 Aug
2015
5 Aug
'15
8:03 p.m.
On 4 August 2015 at 12:33, Simon Glass sjg@chromium.org wrote:
The EFI memory map is passed from the stub to U-Boot in a table. Add a command to display it in a vaguely readable fashion.
Signed-off-by: Simon Glass sjg@chromium.org Reviewed-by: Bin Meng bmeng.cn@gmail.com Tested on QEMU Tested-by: Bin Meng bmeng.cn@gmail.com
Changes in v3: None Changes in v2:
- Drop a left-over debug printf()
- Fix alignment of region index field in the output
- Fix efi_mem_desc_VERSION typo
- Output the region index in decimal
common/Makefile | 1 + common/cmd_efi.c | 257 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 258 insertions(+) create mode 100644 common/cmd_efi.c
Applied to u-boot-x86.