mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-28 10:45:22 +00:00
We can clear the reset cause in system pre-init now because of a previous change which preserves it across a sysjump. Signed-off-by: Randall Spangler <rspangler@chromium.org> BUG=none TEST=if it boots, it works Change-Id: I1d8b99df5a0be0de9545d22ad1a6b7fb3140f813
20 lines
534 B
C
20 lines
534 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.
|
|
*/
|
|
|
|
/* Temperature sensor module for LM4 chip */
|
|
|
|
#ifndef __CROS_EC_CHIP_TEMP_SENSOR_H
|
|
#define __CROS_EC_CHIP_TEMP_SENSOR_H
|
|
|
|
struct temp_sensor_t;
|
|
|
|
/* Temperature polling function. */
|
|
int chip_temp_sensor_poll(void);
|
|
|
|
/* Temperature reading function. Return temperature in K. */
|
|
int chip_temp_sensor_get_val(int idx);
|
|
|
|
#endif /* __CROS_EC_CHIP_TEMP_SENSOR_H */
|