
23 Jun
2020
23 Jun
'20
7:29 a.m.
From: Bin Meng bin.meng@windriver.com
SYSRESET uclass driver already provides all the reset APIs, hence exclude our own ad-hoc reset.c implementation.
Signed-off-by: Bin Meng bin.meng@windriver.com ---
arch/riscv/lib/Makefile | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/arch/riscv/lib/Makefile b/arch/riscv/lib/Makefile index b5e9324..6c503ff 100644 --- a/arch/riscv/lib/Makefile +++ b/arch/riscv/lib/Makefile @@ -20,7 +20,9 @@ obj-$(CONFIG_SBI) += sbi.o obj-$(CONFIG_SBI_IPI) += sbi_ipi.o endif obj-y += interrupts.o +ifeq ($(CONFIG_$(SPL_)SYSRESET),) obj-y += reset.o +endif obj-y += setjmp.o obj-$(CONFIG_$(SPL_)SMP) += smp.o obj-$(CONFIG_SPL_BUILD) += spl.o
--
2.7.4