Create drivers/sysreset and move sysreset-uclass and all sysreset drivers there. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>master
parent
da91cfed54
commit
b25732c22b
@ -0,0 +1,16 @@ |
||||
# |
||||
# System reset devices |
||||
# |
||||
|
||||
menu "System reset device drivers" |
||||
|
||||
config SYSRESET |
||||
bool "Enable support for system reset drivers" |
||||
depends on DM |
||||
help |
||||
Enable system reset drivers which can be used to reset the CPU or |
||||
board. Each driver can provide a reset method which will be called |
||||
to effect a reset. The uclass will try all available drivers when |
||||
reset_walk() is called. |
||||
|
||||
endmenu |
@ -0,0 +1,15 @@ |
||||
#
|
||||
# (C) Copyright 2016 Cadence Design Systems Inc.
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
|
||||
obj-$(CONFIG_SYSRESET) += sysreset-uclass.o
|
||||
|
||||
ifndef CONFIG_SPL_BUILD |
||||
obj-$(CONFIG_ROCKCHIP_RK3036) += sysreset_rk3036.o
|
||||
endif |
||||
obj-$(CONFIG_ROCKCHIP_RK3288) += sysreset_rk3288.o
|
||||
obj-$(CONFIG_ROCKCHIP_RK3399) += sysreset_rk3399.o
|
||||
obj-$(CONFIG_SANDBOX) += sysreset_sandbox.o
|
||||
obj-$(CONFIG_ARCH_SNAPDRAGON) += sysreset_snapdragon.o
|
Loading…
Reference in new issue