This patch has a basic structure of vboot2 integration. It supports only Nyans, which have bootblock architecture and romstage architecture are compatible from linker's perspective. TEST=Built with VBOOT2_VERIFY_FIRMWARE on/off. Booted Nyan Blaze. BUG=None BRANCH=none Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Change-Id: I4bbd4d0452604943b376bef20ea8a258820810aa Reviewed-on: https://chromium-review.googlesource.com/204522 Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org> Commit-Queue: Daisuke Nojiri <dnojiri@chromium.org> Tested-by: Daisuke Nojiri <dnojiri@chromium.org>
12 lines
185 B
C
12 lines
185 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);
|
|
|
|
#endif
|