]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: fsl-mc: uprev binary interface to match MC v10.x
authorIoana Ciornei <ioana.ciornei@nxp.com>
Wed, 26 Oct 2016 16:20:34 +0000 (11:20 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Oct 2016 13:15:11 +0000 (15:15 +0200)
commitdecd3d0cfda6ccb2d6d3e942777a4eb18949704c
treeb55668b9d4f18f2de2c2a59c1663631901e8587f
parent6466dac79c5a8327972c0a98881102cb00a7ac32
staging: fsl-mc: uprev binary interface to match MC v10.x

DPAA2 will not support MC firmware versions prior to MC v10.x.
Update the MC interface code and drivers to reflect this.
   -update the object .h files and code that builds commands to include
    the new command version in the command header
   -object versions are no longer available in the object attributes,
    so remove references to them and instead get the version from the
    new get_api_version() command
   -create/destroy commands for all objects have new arguments
   -dpmng_get_container_id() is replaced by dprc_get_container_id()

This supports a hardware ABI change and thus to match the new ABI
all the above changes need to happen in a single patch.

All MC firmware versions >= 10 will be supported going forward.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: Stuart Yoder <stuart.yoder@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
15 files changed:
drivers/staging/fsl-mc/bus/dpbp-cmd.h
drivers/staging/fsl-mc/bus/dpbp.c
drivers/staging/fsl-mc/bus/dpmcp-cmd.h
drivers/staging/fsl-mc/bus/dpmcp.c
drivers/staging/fsl-mc/bus/dpmcp.h
drivers/staging/fsl-mc/bus/dpmng-cmd.h
drivers/staging/fsl-mc/bus/dpmng.c
drivers/staging/fsl-mc/bus/dprc-cmd.h
drivers/staging/fsl-mc/bus/dprc-driver.c
drivers/staging/fsl-mc/bus/dprc.c
drivers/staging/fsl-mc/bus/fsl-mc-bus.c
drivers/staging/fsl-mc/bus/mc-sys.c
drivers/staging/fsl-mc/include/dpbp.h
drivers/staging/fsl-mc/include/dprc.h
drivers/staging/fsl-mc/include/mc-cmd.h