]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_driver: provide SBI based runtime system reset
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Mon, 12 Feb 2024 16:18:37 +0000 (17:18 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Wed, 28 Feb 2024 13:38:47 +0000 (14:38 +0100)
commitee446e15fb3da69076dcef1e14bf5d8e4c7a6218
tree6d01c8c7c3df000f0500ed2707d0bee94532386c
parentc9f368b597a02f9919cb0c1c03e6b231129e9262
efi_driver: provide SBI based runtime system reset

On RISC-V systems system the Supervisory Binary Interface provides system
reset and poweroff. Use it at EFI runtime.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
lib/efi_driver/Makefile
lib/efi_driver/efi_reset_riscv.c [new file with mode: 0644]
lib/efi_loader/Kconfig