]> git.dujemihanovic.xyz Git - u-boot.git/commit
riscv: Allow use of reset drivers
authorSean Anderson <seanga2@gmail.com>
Wed, 24 Jun 2020 10:41:20 +0000 (06:41 -0400)
committerAndes <uboot@andestech.com>
Wed, 1 Jul 2020 07:01:22 +0000 (15:01 +0800)
commit958a3f464c7f8ef7e10db9feb663e9e80445ce2f
treeecbd85c6e96674d4e83c64098af6fa672b2a5fe4
parentb8bc120927a75ccbdd3a242555933dc644391bc8
riscv: Allow use of reset drivers

Currently, one cannot use a reset driver on RISC-V. Follow the MIPS
example, and disable the default reset handler when the sysreset driver is
enabled.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/riscv/lib/reset.c