blob: eca78b27d843152606e5bbd9864d26861a50fa22 [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
Andrew Jeffery26558db2018-08-10 00:22:38 +09307struct mbox_context;
8
Andrew Jefferycb9b2102018-08-08 16:31:07 +09309int lpc_dev_init(struct mbox_context *context);
Andrew Jeffery2e2df282018-08-08 16:32:22 +093010void lpc_dev_free(struct mbox_context *context);
Andrew Jefferyec0f2302018-08-08 16:33:27 +093011int lpc_map_flash(struct mbox_context *context);
Andrew Jeffery17079d12018-08-08 16:35:09 +093012int lpc_map_memory(struct mbox_context *context);
Andrew Jeffery17971e42018-08-08 16:36:10 +093013int lpc_reset(struct mbox_context *context);
Deepak Kodihalli017e45c2017-07-12 01:06:30 -050014
Andrew Jeffery1714e4f2018-08-08 16:27:03 +093015#endif /* LPC_H */