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 | ||||
7 | #define hard_reset() do {} while(0) | ||||
8 | #endif | ||||
Stefan Reinauer | de3206a | 2010-02-22 06:09:43 +0000 | [diff] [blame] | 9 | void soft_reset(void); |
Eric Biederman | 30e143a | 2003-09-01 23:45:32 +0000 | [diff] [blame] | 10 | |
11 | #endif |