xref: /openbmc/u-boot/include/fsl-mc/fsl_mc_sys.h (revision 2290fe06)
1 /*
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 
14 struct mc_command;
15 
16 /*
17  * struct mc_portal_wrapper - MC command portal wrapper object
18  */
19 struct fsl_mc_io {
20 	struct mc_command __iomem *mmio_regs;
21 };
22 
23 int mc_send_command(struct fsl_mc_io *mc_io,
24 		    struct mc_command *cmd);
25 
26 #endif /* _FSL_MC_SYS_H */
27