imx: Avoid hardcoded output ring size register offset (ORSR)
authorBreno Lima <breno.lima@nxp.com>
Thu, 25 Mar 2021 09:30:03 +0000 (17:30 +0800)
committerStefano Babic <sbabic@denx.de>
Thu, 8 Apr 2021 07:18:29 +0000 (09:18 +0200)
commit8c497e148c0676977a1ef392595fd5b790e59ee4
tree692d5fc1e3a56e64d76aa048f090a846cfed2e4f
parent30e39ac7c937e07002e2868b23b679e6bb0f2a58
imx: 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>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/cmd_dek.c
arch/arm/mach-imx/cmd_mfgprot.c