Stefan Reinauer | de3206a | 2010-02-22 06:09:43 +0000 | [diff] [blame] | 1 | #ifndef RESET_H |
| 2 | #define RESET_H |
Eric Biederman | 30e143a | 2003-09-01 23:45:32 +0000 | [diff] [blame] | 3 | |
Patrick Georgi | e166782 | 2012-05-05 15:29:32 +0200 | [diff] [blame] | 4 | #if CONFIG_HAVE_HARD_RESET |
Eric Biederman | 30e143a | 2003-09-01 23:45:32 +0000 | [diff] [blame] | 5 | void hard_reset(void); |
| 6 | #else |
Elyes HAOUAS | 8ffd050 | 2016-09-01 19:01:41 +0200 | [diff] [blame] | 7 | #define hard_reset() do {} while (0) |
Eric Biederman | 30e143a | 2003-09-01 23:45:32 +0000 | [diff] [blame] | 8 | #endif |
Stefan Reinauer | de3206a | 2010-02-22 06:09:43 +0000 | [diff] [blame] | 9 | void soft_reset(void); |
Daisuke Nojiri | bcc1d42 | 2014-06-19 19:16:24 -0700 | [diff] [blame] | 10 | void cpu_reset(void); |
Andrey Petrov | 43e1bfd | 2016-06-22 23:39:08 -0700 | [diff] [blame] | 11 | /* Some Intel SoCs use a special reset that is specific to SoC */ |
| 12 | void global_reset(void); |
Andrey Petrov | 6401188 | 2016-07-15 13:31:09 -0700 | [diff] [blame] | 13 | /* Some Intel SoCs may need to prepare/wait before reset */ |
| 14 | void reset_prepare(void); |
Eric Biederman | 30e143a | 2003-09-01 23:45:32 +0000 | [diff] [blame] | 15 | #endif |