mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 06:00:43 +00:00
riscv: Do not build reset.c if SYSRESET is on
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> Reviewed-by: Sagar Kadam <sagar.kadam@sifive.com> Reviewed-by: Pragnesh Patel <pragnesh.patel@sifive.com>
This commit is contained in:
parent
1c17e55594
commit
fd31e4fd18
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue