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