mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-06 06:52:00 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user