Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
J. German Rivera | 43e4ae3 | 2015-01-06 13:19:02 -0800 | [diff] [blame] | 2 | /* |
| 3 | * Freescale Layerscape Management Complex (MC) Environment-specific code |
| 4 | * |
| 5 | * Copyright (C) 2014 Freescale Semiconductor, Inc. |
J. German Rivera | 43e4ae3 | 2015-01-06 13:19:02 -0800 | [diff] [blame] | 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 */ |