efi_selftest: add tool to download dtb
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 4 Nov 2020 21:00:48 +0000 (22:00 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 9 Nov 2020 16:28:17 +0000 (17:28 +0100)
commitb1aa6fcf274cb655ffb56eadcb9518fbb57e47b5
tree5545266e69e35ba2305c69b329fb16dea0521cad
parentab02c3fec499e89e09b0f024ef263821e4b5d918
efi_selftest: add tool to download dtb

For validating the fixed up device tree we need a tool to need to save it
to a file.

dtbdump.efi copies the configuration table with the device tree to a file
on the same partition from which dtbdump.efi was invoked. The file name can
be entered on the console.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_selftest/Makefile
lib/efi_selftest/dtbdump.c [new file with mode: 0644]