summaryrefslogtreecommitdiff
path: root/chip/npcx/lpc_chip.h
blob: c2f80158af5f93c2e5fc65ce2775ba67f08c6bc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* Copyright 2015 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.
 */

/* NPCX-specific hwtimer module for Chrome EC */

#ifndef __CROS_EC_LPC_CHIP_H
#define __CROS_EC_LPC_CHIP_H

/* For host registers initialization via SIB module */
void host_register_init(void);

#ifdef CONFIG_HOSTCMD_ESPI
/* eSPI Initialization functions */
void espi_init(void);
/* eSPI reset assert/de-assert interrupt */
void espi_espirst_handler(void);
#else
/* LPC PLTRST assert/de-assert interrupt */
void lpc_lreset_pltrst_handler(void);
#endif
#endif /* __CROS_EC_LPC_CHIP_H */