soc/qman: Handle endianness of h/w descriptors
authorClaudiu Manoil <claudiu.manoil@nxp.com>
Wed, 16 Nov 2016 14:40:30 +0000 (16:40 +0200)
committerScott Wood <oss@buserror.net>
Thu, 24 Nov 2016 03:01:25 +0000 (21:01 -0600)
commit18058822768f4665e2132ddd1cb413a9033edf09
tree64f89bcf17829fab7540e4f493f075274faa3e85
parent496bfa11de2e6805b63168d45c2f92edbeae54e2
soc/qman: Handle endianness of h/w descriptors

The hardware descriptors have big endian (BE) format.
Provide proper endianness handling for the remaining
descriptor fields, to ensure they are correctly
accessed by non-BE CPUs too.

Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com>
Signed-off-by: Scott Wood <oss@buserror.net>
drivers/soc/fsl/qbman/qman.c
drivers/soc/fsl/qbman/qman_priv.h
drivers/soc/fsl/qbman/qman_test_api.c
drivers/soc/fsl/qbman/qman_test_stash.c
include/soc/fsl/qman.h