efi_selftest: dtbdump support EFI_DT_FIXUP_PROTOCOL

The dtbdump.efi binary can already be used to dump the configuration table
with the device-tree to a file.

With this patch a device-tree file can be loaded. The EFI_DT_FIXUP_PROTOCOL
is called to

* apply U-Boot's fix-ups
* let U-Boot make memory reservations as required by the device-tree
* install the new device-tree as configuration table

In a next step this configuration table can be dumped.

A dtbdump.efi session would look like:

    DTB Dump
    ========

    => load test.dtb
    device-tree installed
    => save fixed-up.dtb
    fixed-up.dtb written
    => exit

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
45 jobs for efi-2021-04-rc1 in 2 minutes and 50 seconds (queued for 8 seconds)
latest
Status Job ID Name Coverage
  Testsuites
passed #201746
all
Build envtools

00:00:24

passed #201745
all
Build tools-only

00:00:17

passed #201744
all
Check for configs without MAINTAINERS entry

00:00:32

canceled #201747
all
Run binman, buildman, dtoc, Kconfig and patman testsuites

00:01:08

canceled #201748
all
Run tests for Nokia RX-51 (aka N900)

00:01:13

canceled #201740
all
cppcheck

00:02:37

passed #201741
all
grep TODO/FIXME/HACK

00:00:22

passed #201742
all
htmldocs

00:02:23

passed #201743
all
sloccount

00:00:39

 
  Test.Py
canceled #201752
all
evb-ast2500 test.py

canceled #201756
all
integratorcp_cm926ejs test.py

canceled #201767
all
qemu-ppce500 test.py

canceled #201768
all
qemu-riscv32 test.py

canceled #201770
all
qemu-riscv32_spl test.py

canceled #201769
all
qemu-riscv64 test.py

canceled #201771
all
qemu-riscv64_spl test.py

canceled #201772
all
qemu-x86 test.py

canceled #201773
all
qemu-x86_64 test.py

canceled #201757
all
qemu_arm test.py

canceled #201758
all
qemu_arm64 test.py

canceled #201763
all
qemu_malta test.py

canceled #201765
all
qemu_malta64 test.py

canceled #201766
all
qemu_malta64el test.py

canceled #201764
all
qemu_maltael test.py

canceled #201759
all
qemu_mips test.py

canceled #201761
all
qemu_mips64 test.py

canceled #201762
all
qemu_mips64el test.py

canceled #201760
all
qemu_mipsel test.py

canceled #201774
all
r2dplus_i82557c test.py

canceled #201775
all
r2dplus_pcnet test.py

canceled #201776
all
r2dplus_rtl8139 test.py

canceled #201777
all
r2dplus_tulip test.py

canceled #201749
all
sandbox test.py

canceled #201750
all
sandbox with clang test.py

canceled #201753
all
sandbox_flattree test.py

canceled #201751
all
sandbox_spl test.py

canceled #201754
all
vexpress_ca15_tc2 test.py

canceled #201755
all
vexpress_ca9x4 test.py

canceled #201779
all
xilinx_versal_virt test.py

canceled #201778
all
xilinx_zynq_virt test.py

canceled #201780
all
xtfpga test.py

 
  World Build
canceled #201781
all
build all 32bit ARM platforms

canceled #201782
all
build all 64bit ARM platforms

canceled #201783
all
build all PowerPC platforms

canceled #201784
all
build all other platforms