1 /* SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0)
3 * Copyright 2013-2015 Freescale Semiconductor Inc.
4 * Copyright 2017-2021 NXP
10 #include <rte_compat.h>
13 * Management Complex General API
14 * Contains general API for the Management Complex firmware
20 * Management Complex firmware version information
22 #define MC_VER_MAJOR 10
23 #define MC_VER_MINOR 29
27 * @major: Major version number: incremented on API compatibility changes
28 * @minor: Minor version number: incremented on API additions (that are
29 * backward compatible); reset when major version is incremented
30 * @revision: Internal revision number: incremented on implementation changes
31 * and/or bug fixes that have no impact on API
40 int mc_get_version(struct fsl_mc_io *mc_io,
42 struct mc_version *mc_ver_info);
46 * @svr: System version (content of platform SVR register)
47 * @pvr: Processor version (content of platform PVR register)
49 struct mc_soc_version {
55 int mc_get_soc_version(struct fsl_mc_io *mc_io,
57 struct mc_soc_version *mc_platform_info);
58 #endif /* __FSL_DPMNG_H */