hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#
# 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.
 
config SPL_SYSRESET
   bool "Enable support for system reset drivers in SPL mode"
   depends on SYSRESET && SPL_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.
 
config TPL_SYSRESET
   bool "Enable support for system reset drivers in TPL mode"
   depends on SYSRESET && TPL_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.
 
config SYSRESET_REG
   hex "The sysreset register for the sysreset"
   depends on !SYSRESET
   default 0xff490408
 
config SYSRESET_VAL
   hex "The sysreset value for the sysreset"
   depends on !SYSRESET
   default 0x0000fdb9
 
if SYSRESET
 
config SYSRESET_PSCI
   bool "Enable support for PSCI System Reset"
   depends on ARM_PSCI_FW
   default y if ARCH_ROCKCHIP
   help
     Enable PSCI SYSTEM_RESET function call.  To use this, PSCI firmware
     must be running on your system.
 
endif
 
config SYSRESET_SYSCON
   bool "Enable support for mfd syscon reboot driver"
   select REGMAP
   select SYSCON
   help
     Reboot support for generic SYSCON mapped register reset.
 
config SYSRESET_SYSCON_REBOOT
   bool "Enable support for syscon reboot mode driver"
   default y if ARCH_ROCKCHIP
   help
     Reboot mode command, like: reboot bootloader, etc.
 
config SYSRESET_WATCHDOG
   bool "Enable support for watchdog reboot driver"
   select WDT
   help
     Reboot support for generic watchdog reset.
 
endmenu