Component Type: kbuild config
Description: Reboot Using Button
More info: If you say Y here, then you will be able to initiate a system shutdown and reboot by pressing the orange button a number of times. The number of presses to initiate the shutdown is two by default, but this can be altered by modifying the value of NUM_PRESSES_REBOOT in nwbutton.h and recompiling the driver or, if you compile the driver as a module, you can specify the number of presses at load time with "insmod button reboot_count=<something>".
Build project: Kconfig (Linux kconfig) (Path: drivers\char\Kconfig )
Other views: file explorer