mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-14 08:57:58 +00:00
a2a55e518f
Freescale's Layerscape Management Complex (MC) provide support various objects like DPRC, DPNI, DPBP and DPIO. Where: DPRC: Place holdes for other MC objectes like DPNI, DPBP, DPIO DPBP: Management of buffer pool DPIO: Used for used to QBMan portal DPNI: Represents standard network interface These objects are used for DPAA ethernet drivers. Signed-off-by: J. German Rivera <German.Rivera@freescale.com> Signed-off-by: Lijun Pan <Lijun.Pan@freescale.com> Signed-off-by: Stuart Yoder <stuart.yoder@freescale.com> Signed-off-by: Geoff Thorpe <Geoff.Thorpe@freescale.com> Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com> Signed-off-by: Cristian Sovaiala <cristian.sovaiala@freescale.com> Signed-off-by: pankaj chauhan <pankaj.chauhan@freescale.com> Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
19 lines
555 B
C
19 lines
555 B
C
/* Copyright 2013-2015 Freescale Semiconductor Inc.
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
#ifndef __FSL_DPMNG_CMD_H
|
|
#define __FSL_DPMNG_CMD_H
|
|
|
|
/* Command IDs */
|
|
#define DPMNG_CMDID_GET_VERSION 0x831
|
|
|
|
/* cmd, param, offset, width, type, arg_name */
|
|
#define DPMNG_RSP_GET_VERSION(cmd, mc_ver_info) \
|
|
do { \
|
|
MC_RSP_OP(cmd, 0, 0, 32, uint32_t, mc_ver_info->revision); \
|
|
MC_RSP_OP(cmd, 0, 32, 32, uint32_t, mc_ver_info->major); \
|
|
MC_RSP_OP(cmd, 1, 0, 32, uint32_t, mc_ver_info->minor); \
|
|
} while (0)
|
|
|
|
#endif /* __FSL_DPMNG_CMD_H */
|