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 | |
Andrew Jeffery | 1714e4f | 2018-08-08 16:27:03 +0930 | [diff] [blame] | 4 | #ifndef LPC_H |
| 5 | #define LPC_H |
Suraj Jitindar Singh | e39c916 | 2017-03-28 10:47:43 +1100 | [diff] [blame] | 6 | |
Andrew Jeffery | 26558db | 2018-08-10 00:22:38 +0930 | [diff] [blame] | 7 | struct mbox_context; |
| 8 | |
Andrew Jeffery | cb9b210 | 2018-08-08 16:31:07 +0930 | [diff] [blame] | 9 | int lpc_dev_init(struct mbox_context *context); |
Andrew Jeffery | 2e2df28 | 2018-08-08 16:32:22 +0930 | [diff] [blame] | 10 | void lpc_dev_free(struct mbox_context *context); |
Andrew Jeffery | ec0f230 | 2018-08-08 16:33:27 +0930 | [diff] [blame] | 11 | int lpc_map_flash(struct mbox_context *context); |
Andrew Jeffery | 17079d1 | 2018-08-08 16:35:09 +0930 | [diff] [blame] | 12 | int lpc_map_memory(struct mbox_context *context); |
Andrew Jeffery | 17971e4 | 2018-08-08 16:36:10 +0930 | [diff] [blame] | 13 | int lpc_reset(struct mbox_context *context); |
Deepak Kodihalli | 017e45c | 2017-07-12 01:06:30 -0500 | [diff] [blame] | 14 | |
Andrew Jeffery | 1714e4f | 2018-08-08 16:27:03 +0930 | [diff] [blame] | 15 | #endif /* LPC_H */ |