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 | |
Stefan Reinauer | bd11298 | 2010-03-17 03:14:54 +0000 | [diff] [blame] | 4 | #if !defined( __ROMCC__ ) |
5 | /* ROMCC can't do function prototypes... */ | ||||
6 | |||||
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 7 | #if CONFIG_HAVE_HARD_RESET == 1 |
Eric Biederman | 30e143a | 2003-09-01 23:45:32 +0000 | [diff] [blame] | 8 | void hard_reset(void); |
9 | #else | ||||
10 | #define hard_reset() do {} while(0) | ||||
11 | #endif | ||||
Stefan Reinauer | de3206a | 2010-02-22 06:09:43 +0000 | [diff] [blame] | 12 | void soft_reset(void); |
Eric Biederman | 30e143a | 2003-09-01 23:45:32 +0000 | [diff] [blame] | 13 | |
14 | #endif | ||||
Stefan Reinauer | bd11298 | 2010-03-17 03:14:54 +0000 | [diff] [blame] | 15 | #endif |