aboutsummaryrefslogtreecommitdiff
path: root/src/include/reset.h
blob: 79bf6d5b209c81a63aa952dab57af14878d9ae50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef RESET_H
#define RESET_H

#if !defined( __ROMCC__ )
/* ROMCC can't do function prototypes... */

#if CONFIG_HAVE_HARD_RESET
void hard_reset(void);
#else
#define hard_reset() do {} while(0)
#endif
void soft_reset(void);

#endif
#endif