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