aboutsummaryrefslogtreecommitdiff
path: root/include/fsl-mc/fsl_mc_sys.h
blob: 9fb8164f505363cf1ae1f4d0e7a20057e2054755 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * Freescale Layerscape Management Complex (MC) Environment-specific code
 *
 * Copyright (C) 2014 Freescale Semiconductor, Inc.
 */

#ifndef _FSL_MC_SYS_H
#define _FSL_MC_SYS_H

#include <asm/io.h>

struct mc_command;

/*
 * struct mc_portal_wrapper - MC command portal wrapper object
 */
struct fsl_mc_io {
	struct mc_command __iomem *mmio_regs;
};

int mc_send_command(struct fsl_mc_io *mc_io,
		    struct mc_command *cmd);

#endif /* _FSL_MC_SYS_H */