2010-02-22 07:09:43 +01:00
|
|
|
#ifndef RESET_H
|
|
|
|
#define RESET_H
|
2003-09-02 01:45:32 +02:00
|
|
|
|
2010-03-17 04:14:54 +01:00
|
|
|
#if !defined( __ROMCC__ )
|
|
|
|
/* ROMCC can't do function prototypes... */
|
|
|
|
|
2009-06-30 17:17:49 +02:00
|
|
|
#if CONFIG_HAVE_HARD_RESET == 1
|
2003-09-02 01:45:32 +02:00
|
|
|
void hard_reset(void);
|
|
|
|
#else
|
|
|
|
#define hard_reset() do {} while(0)
|
|
|
|
#endif
|
2010-02-22 07:09:43 +01:00
|
|
|
void soft_reset(void);
|
2003-09-02 01:45:32 +02:00
|
|
|
|
|
|
|
#endif
|
2010-03-17 04:14:54 +01:00
|
|
|
#endif
|