Lee Leahy (leroy.p.leahy@intel.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/15988
-gerrit
commit 27c74c5b1456606137b0f8e747e3497d23567bce Author: Lee Leahy leroy.p.leahy@intel.com Date: Sat Jul 30 10:29:37 2016 -0700
soc/intel/common: Fix build error in reset.c
Fix build error when the Kconfig value HAVE_HARD_RESET is not selected.
TEST=Build and run on Galileo Gen2
Change-Id: I793570e62a0e46cca86cc540c243e363896ceac7 Signed-off-by: Lee Leahy leroy.p.leahy@intel.com --- src/soc/intel/common/reset.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/src/soc/intel/common/reset.c b/src/soc/intel/common/reset.c index 08f36b6..e9be185 100644 --- a/src/soc/intel/common/reset.c +++ b/src/soc/intel/common/reset.c @@ -33,6 +33,7 @@
void WEAK reset_prepare(void) { /* do nothing */ }
+#if IS_ENABLED(CONFIG_HAVE_HARD_RESET) void hard_reset(void) { reset_prepare(); @@ -41,6 +42,7 @@ void hard_reset(void) while (1) hlt(); } +#endif
void soft_reset(void) {