pru: Support config_reset command to manually reset mcu
Add support for resetting the MCU via a software only mechanism. This is useful on the PRU. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -212,6 +212,9 @@ struct my_resource_table {
|
||||
* Startup
|
||||
****************************************************************/
|
||||
|
||||
// Support config_reset
|
||||
DECL_COMMAND_FLAGS(config_reset, HF_IN_SHUTDOWN, "config_reset");
|
||||
|
||||
// Main entry point
|
||||
int
|
||||
main(void)
|
||||
|
||||
Reference in New Issue
Block a user