blob: f7501b53daf06d175123384fa3a2937e0ac2366b [file] [log] [blame]
Stefan Reinauerde3206a2010-02-22 06:09:43 +00001#ifndef RESET_H
2#define RESET_H
Eric Biederman30e143a2003-09-01 23:45:32 +00003
Patrick Georgie1667822012-05-05 15:29:32 +02004#if CONFIG_HAVE_HARD_RESET
Eric Biederman30e143a2003-09-01 23:45:32 +00005void hard_reset(void);
6#else
Elyes HAOUAS8ffd0502016-09-01 19:01:41 +02007#define hard_reset() do {} while (0)
Eric Biederman30e143a2003-09-01 23:45:32 +00008#endif
Stefan Reinauerde3206a2010-02-22 06:09:43 +00009void soft_reset(void);
Daisuke Nojiribcc1d422014-06-19 19:16:24 -070010void cpu_reset(void);
Andrey Petrov43e1bfd2016-06-22 23:39:08 -070011/* Some Intel SoCs use a special reset that is specific to SoC */
12void global_reset(void);
Andrey Petrov64011882016-07-15 13:31:09 -070013/* Some Intel SoCs may need to prepare/wait before reset */
14void reset_prepare(void);
Eric Biederman30e143a2003-09-01 23:45:32 +000015#endif