mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-04 14:01:54 +00:00
This will be used for sleep/wake/sysjump/etc. For now it's just wired up to clock frequency changing. Signed-off-by: Randall Spangler <rspangler@chromium.org> BUG=none TEST=manual: use nopll command, should still work Change-Id: Iedcea5830bc18eacfd955c29b8f793aba8905dd8
19 lines
545 B
C
19 lines
545 B
C
/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
* found in the LICENSE file.
|
|
*/
|
|
|
|
/* Watchdog driver */
|
|
|
|
#ifndef __CROS_EC_WATCHDOG_H
|
|
#define __CROS_EC_WATCHDOG_H
|
|
|
|
/* Initialize the watchdog. This will cause the CPU to reboot if it has been
|
|
* more than 2 watchdog periods since watchdog_reload() has been called. */
|
|
int watchdog_init(int period_ms);
|
|
|
|
/* Reload the watchdog counter */
|
|
void watchdog_reload(void);
|
|
|
|
#endif /* __CROS_EC_WATCHDOG_H */
|