mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-22 12:54:37 +00:00

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>
12 lines
325 B
Makefile
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
|