ish: make ISH system_reset noreturn

Added while loop in system_reset as a respond to CL
https://chromium-review.googlesource.com/742916. Otherwise, ISH build is
broken.

BRANCH=none
BUG=none
TEST=make BOARD=soraka_ish

Change-Id: I1e2736219c6039e7398da02cd6d492e9474ad27c
Signed-off-by: li feng <li1.feng@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/795030
Commit-Ready: Li1 Feng <li1.feng@intel.com>
Tested-by: Li1 Feng <li1.feng@intel.com>
Reviewed-by: Patrick Georgi <pgeorgi@chromium.org>
This commit is contained in:
li feng
2017-11-28 15:35:12 -08:00
committed by chrome-bot
parent 1cf014cfb3
commit 32a8e03339

View File

@@ -46,6 +46,8 @@ void _system_reset(int flags, int wake_from_hibernate)
void system_reset(int flags)
{
_system_reset(flags, 0);
while(1)
;
}
const char *system_get_chip_vendor(void)