Andrew Jeffery | 4fe996c | 2018-02-27 12:16:48 +1030 | [diff] [blame] | 1 | /* SPDX-License-Identifier: Apache-2.0 */ |
| 2 | /* Copyright (C) 2018 IBM Corp. */ |
Suraj Jitindar Singh | e39c916 | 2017-03-28 10:47:43 +1100 | [diff] [blame] | 3 | |
| 4 | #ifndef MBOXD_LPC_H |
| 5 | #define MBOXD_LPC_H |
| 6 | |
Deepak Kodihalli | 017e45c | 2017-07-12 01:06:30 -0500 | [diff] [blame] | 7 | #ifdef __cplusplus |
| 8 | extern "C" { |
| 9 | #endif |
| 10 | |
Suraj Jitindar Singh | e39c916 | 2017-03-28 10:47:43 +1100 | [diff] [blame] | 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); |
Deepak Kodihalli | 017e45c | 2017-07-12 01:06:30 -0500 | [diff] [blame] | 15 | int reset_lpc(struct mbox_context *context); |
| 16 | |
| 17 | #ifdef __cplusplus |
| 18 | } |
| 19 | #endif |
Suraj Jitindar Singh | e39c916 | 2017-03-28 10:47:43 +1100 | [diff] [blame] | 20 | |
| 21 | #endif /* MBOXD_LPC_H */ |