]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commitf00103373bcb3ca22b9bd4c71ecefe0c648c9b03
treef5126c85365ea9007579beb70e89bda3bb88a0d7
parent433f63a8c8ee094c19ab8634274fa9ff641d05b2
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]