summaryrefslogtreecommitdiff
path: root/src/include/reset.h
blob: 3d72a8cc0a28c2f64b6f9290e097be94b9adfae2 (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 == 1
void hard_reset(void);
#else
#define hard_reset() do {} while(0)
#endif
void soft_reset(void);

#endif
#endif