armv8: ls1046a: add icid setup for qman portals
authorLaurentiu Tudor <laurentiu.tudor@nxp.com>
Thu, 9 Aug 2018 12:19:47 +0000 (15:19 +0300)
committerYork Sun <york.sun@nxp.com>
Fri, 10 Aug 2018 17:35:36 +0000 (10:35 -0700)
commit599a97d49cee04aaa6c2c8cbecc4f47a7c088dbe
tree727b0cf61791e9a94d73a1aed516573b06136966
parent3cb4fe65f9e88c6cfea2fea5ca934acfa3c415b4
armv8: ls1046a: add icid setup for qman portals

Add support for ICID setting of qman portals and the required device
tree fixups. Also fix an endiness issue in portal setup code.

Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/ls1046_ids.c
arch/arm/include/asm/arch-fsl-layerscape/fsl_portals.h [new file with mode: 0644]
drivers/misc/fsl_portals.c