xref: /openbmc/hiomapd/lpc.h (revision cd18611e279b074420f0c643ab070ac38591aec7)
1 /* SPDX-License-Identifier: Apache-2.0 */
2 /* Copyright (C) 2018 IBM Corp. */
3 
4 #ifndef MBOXD_LPC_H
5 #define MBOXD_LPC_H
6 
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
10 
11 int init_lpc_dev(struct mbox_context *context);
12 void free_lpc_dev(struct mbox_context *context);
13 int point_to_flash(struct mbox_context *context);
14 int point_to_memory(struct mbox_context *context);
15 int reset_lpc(struct mbox_context *context);
16 
17 #ifdef __cplusplus
18 }
19 #endif
20 
21 #endif /* MBOXD_LPC_H */
22