8ffd050cf0
Change-Id: Ic8ffd26e61c0c3f27872699bb6aa9c39204155b7 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/16390 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
15 lines
362 B
C
15 lines
362 B
C
#ifndef RESET_H
|
|
#define RESET_H
|
|
|
|
#if CONFIG_HAVE_HARD_RESET
|
|
void hard_reset(void);
|
|
#else
|
|
#define hard_reset() do {} while (0)
|
|
#endif
|
|
void soft_reset(void);
|
|
void cpu_reset(void);
|
|
/* Some Intel SoCs use a special reset that is specific to SoC */
|
|
void global_reset(void);
|
|
/* Some Intel SoCs may need to prepare/wait before reset */
|
|
void reset_prepare(void);
|
|
#endif
|