MLK-17917: imx-common: Avoid hardcoded output ring size register offset (ORSR)
authorBreno Lima <breno.lima@nxp.com>
Fri, 23 Mar 2018 20:17:04 +0000 (17:17 -0300)
committerYe Li <ye.li@nxp.com>
Mon, 2 Apr 2018 02:41:34 +0000 (19:41 -0700)
commite262b961d0b2fe96bbe47fbbb6d37c97280cbf02
tree544c017d9b9c39501444d3fca8fb12a0bfe2fc91
parent36d279784b20089f10109dd6561620d852cb810f
MLK-17917: imx-common: Avoid hardcoded output ring size register offset (ORSR)

The CAAM output ring size register offset is currently defined in fsl_sec.h
as FSL_CAAM_ORSR_JRa_OFFSET, use this definition to avoid hardcoded value in
i.MX common code.

Signed-off-by: Breno Lima <breno.lima@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit 9d381708210270a1cf9bf25924c8932c436967e8)
arch/arm/imx-common/cmd_dek.c
arch/arm/imx-common/cmd_mfgprot.c