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