1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /* Copyright 2013-2015 Freescale Semiconductor Inc.
7 /* Management Complex General API
8 * Contains general API for the Management Complex firmware
14 * Management Complex firmware version information
16 #define MC_VER_MAJOR 9
17 #define MC_VER_MINOR 0
21 * @major: Major version number: incremented on API compatibility changes
22 * @minor: Minor version number: incremented on API additions (that are
23 * backward compatible); reset when major version is incremented
24 * @revision: Internal revision number: incremented on implementation changes
25 * and/or bug fixes that have no impact on API
34 * mc_get_version() - Retrieves the Management Complex firmware
36 * @mc_io: Pointer to opaque I/O object
37 * @cmd_flags: Command flags; one or more of 'MC_CMD_FLAG_'
38 * @mc_ver_info: Returned version information structure
40 * Return: '0' on Success; Error code otherwise.
42 int mc_get_version(struct fsl_mc_io *mc_io,
44 struct mc_version *mc_ver_info);
46 #endif /* __FSL_DPMNG_H */