diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2018-09-26 06:55:22 -0700 |
---|---|---|
committer | Andes <uboot@andestech.com> | 2018-10-03 17:48:43 +0800 |
commit | b984ddc2dd332117ef1345255a99dc248c826b74 (patch) | |
tree | 9bf0672db4110fb98a81b3450b5deab784ed5a51 /arch/riscv/lib/Makefile | |
parent | 510e379c49ba8e0d90960d8cbc2ffb91091e229a (diff) | |
download | u-boot-b984ddc2dd332117ef1345255a99dc248c826b74.tar.gz u-boot-b984ddc2dd332117ef1345255a99dc248c826b74.tar.bz2 u-boot-b984ddc2dd332117ef1345255a99dc248c826b74.zip |
riscv: Move do_reset() to a common place
We don't have a reset method on any RISC-V board yet. Instead of
adding the same 'unsupported' message for each CPU variant it might
make more sense to add a generic do_reset function for all CPU
variants to lib/, similar to the one for ARM (arch/arm/lib/reset.c).
Suggested-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de>
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de>
Diffstat (limited to 'arch/riscv/lib/Makefile')
-rw-r--r-- | arch/riscv/lib/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/lib/Makefile b/arch/riscv/lib/Makefile index cc562f935a..b58db89752 100644 --- a/arch/riscv/lib/Makefile +++ b/arch/riscv/lib/Makefile @@ -10,6 +10,7 @@ obj-$(CONFIG_CMD_BOOTM) += bootm.o obj-$(CONFIG_CMD_GO) += boot.o obj-y += cache.o obj-y += interrupts.o +obj-y += reset.o obj-y += setjmp.o # For building EFI apps |