u-boot/lib/efi_driver/Makefile
Heinrich Schuchardt ee446e15fb 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>
2024-02-28 14:38:47 +01:00

12 lines
325 B
Makefile

# SPDX-License-Identifier: GPL-2.0+
#
# (C) Copyright 2017 Heinrich Schuchardt
# This file only gets included with CONFIG_EFI_LOADER set, so all
# object inclusion implicitly depends on it
obj-y += efi_uclass.o
ifeq ($(CONFIG_PARTITIONS),y)
obj-y += efi_block_device.o
endif
obj-$(CONFIG_SYSRESET_SBI) += efi_reset_riscv.o