xref: /openbmc/phosphor-mboxd/mboxd_lpc.h (revision 4fe996c2e7f157d521b5c8732e8b80e03bd25ff0)
1*4fe996c2SAndrew Jeffery /* SPDX-License-Identifier: Apache-2.0 */
2*4fe996c2SAndrew Jeffery /* Copyright (C) 2018 IBM Corp. */
3e39c9163SSuraj Jitindar Singh 
4e39c9163SSuraj Jitindar Singh #ifndef MBOXD_LPC_H
5e39c9163SSuraj Jitindar Singh #define MBOXD_LPC_H
6e39c9163SSuraj Jitindar Singh 
7017e45c3SDeepak Kodihalli #ifdef __cplusplus
8017e45c3SDeepak Kodihalli extern "C" {
9017e45c3SDeepak Kodihalli #endif
10017e45c3SDeepak Kodihalli 
11e39c9163SSuraj Jitindar Singh int init_lpc_dev(struct mbox_context *context);
12e39c9163SSuraj Jitindar Singh void free_lpc_dev(struct mbox_context *context);
13e39c9163SSuraj Jitindar Singh int point_to_flash(struct mbox_context *context);
14e39c9163SSuraj Jitindar Singh int point_to_memory(struct mbox_context *context);
15017e45c3SDeepak Kodihalli int reset_lpc(struct mbox_context *context);
16017e45c3SDeepak Kodihalli 
17017e45c3SDeepak Kodihalli #ifdef __cplusplus
18017e45c3SDeepak Kodihalli }
19017e45c3SDeepak Kodihalli #endif
20e39c9163SSuraj Jitindar Singh 
21e39c9163SSuraj Jitindar Singh #endif /* MBOXD_LPC_H */
22