diff options
author | J. German Rivera <German.Rivera@freescale.com> | 2015-01-06 13:19:02 -0800 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2015-02-24 13:10:20 -0800 |
commit | 7b3bd9a7988a8b4c8ba22a52b4927e8e59819b12 (patch) | |
tree | 665c5303c5e8d4357d0bd4b2cc7b5f97e56b8291 /include/fsl-mc/fsl_mc_sys.h | |
parent | 4f2532c4a4a34f0241ef9bc921044772f19f928d (diff) | |
download | u-boot-7b3bd9a7988a8b4c8ba22a52b4927e8e59819b12.tar.gz |
drivers/mc: Migrated MC Flibs to 0.5.2
Upgrade Manage Complex (MC) flib API to 0.5.2. Rename directory
fsl_mc to fsl-mc. Change the fsl-mc node in Linux device tree
from "fsl,dprcr" to "fsl-mc". Print MC version info when
appropriate.
Signed-off-by: J. German Rivera <German.Rivera@freescale.com>
Signed-off-by: Lijun Pan <Lijun.Pan@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'include/fsl-mc/fsl_mc_sys.h')
-rw-r--r-- | include/fsl-mc/fsl_mc_sys.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/include/fsl-mc/fsl_mc_sys.h b/include/fsl-mc/fsl_mc_sys.h new file mode 100644 index 0000000000..c0befe01d2 --- /dev/null +++ b/include/fsl-mc/fsl_mc_sys.h @@ -0,0 +1,26 @@ +/* + * Freescale Layerscape Management Complex (MC) Environment-specific code + * + * Copyright (C) 2014 Freescale Semiconductor, Inc. + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#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 */ |