blob: 9a27677838f6af99ba4628870883fdf6d94fa4c4 [file] [log] [blame]
Andrew Jeffery4fe996c2018-02-27 12:16:48 +10301/* SPDX-License-Identifier: Apache-2.0 */
2/* Copyright (C) 2018 IBM Corp. */
Suraj Jitindar Singhe39c9162017-03-28 10:47:43 +11003
Andrew Jeffery1714e4f2018-08-08 16:27:03 +09304#ifndef LPC_H
5#define LPC_H
Suraj Jitindar Singhe39c9162017-03-28 10:47:43 +11006
Deepak Kodihalli017e45c2017-07-12 01:06:30 -05007#ifdef __cplusplus
8extern "C" {
9#endif
10
Suraj Jitindar Singhe39c9162017-03-28 10:47:43 +110011int init_lpc_dev(struct mbox_context *context);
12void free_lpc_dev(struct mbox_context *context);
13int point_to_flash(struct mbox_context *context);
14int point_to_memory(struct mbox_context *context);
Deepak Kodihalli017e45c2017-07-12 01:06:30 -050015int reset_lpc(struct mbox_context *context);
16
17#ifdef __cplusplus
18}
19#endif
Suraj Jitindar Singhe39c9162017-03-28 10:47:43 +110020
Andrew Jeffery1714e4f2018-08-08 16:27:03 +093021#endif /* LPC_H */