efi_selftest: merge FDT and RISC-V tests
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 5 Feb 2022 07:45:55 +0000 (08:45 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 5 Feb 2022 19:20:01 +0000 (20:20 +0100)
commitb9b4cecf9bd5208269bd706965be8ceb215cdcaf
treef5126c85365ea9007579beb70e89bda3bb88a0d7
parent8efefcec00240c982ff4f4c7437f0f89829a5ab6
efi_selftest: merge FDT and RISC-V tests

The test for the RISCV_EFI_BOOT_PROTOCOL retrieves the boot hart id via the
protocol and compares it to the value of the boot hart id in the device
tree. The boot hart id is already retrieved from the device tree in the FDT
test.

Merge the two tests to avoid code duplication.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
lib/efi_selftest/Makefile
lib/efi_selftest/efi_selftest_fdt.c
lib/efi_selftest/efi_selftest_riscv.c [deleted file]