Skip to content
Commit 52a84818 authored by Heinrich Schuchardt's avatar Heinrich Schuchardt
Browse files

efi_selftest: check for RISC-V boot-hartid in FDT



On RISC-V check that the /chosen node has a boot-hartid property.

To run the test configure with CONFIG_CMD_BOOTEFI_SELFTEST=y and issue

    setenv efi_selftest device tree
    setenv serial# myserial
    bootefi selftest

If the test succeeds, it reports the boot-hartid, e.g.

    boot-hartid: 1

Signed-off-by: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
parent 18161a8a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment