blob: c0befe01d2880b57496586b4ee58639c5dcc434c [file] [log] [blame]
J. German Rivera7b3bd9a2015-01-06 13:19:02 -08001/*
2 * Freescale Layerscape Management Complex (MC) Environment-specific code
3 *
4 * Copyright (C) 2014 Freescale Semiconductor, Inc.
5 *
6 * SPDX-License-Identifier: GPL-2.0+
7 */
8
9#ifndef _FSL_MC_SYS_H
10#define _FSL_MC_SYS_H
11
12#include <asm/io.h>
13
14struct mc_command;
15
16/*
17 * struct mc_portal_wrapper - MC command portal wrapper object
18 */
19struct fsl_mc_io {
20 struct mc_command __iomem *mmio_regs;
21};
22
23int mc_send_command(struct fsl_mc_io *mc_io,
24 struct mc_command *cmd);
25
26#endif /* _FSL_MC_SYS_H */