fsl_ifc: Fix csor_ext position in fsl_ifc_regs
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/2 fsl_ifc: Fix csor_ext position in fsl_ifc_regs
According to Freescale manuals, the IFC_CSORn_EXT register is located immediately _after_ the bank's IFC_CSORn register.
This patch adjusts the csor_ext member of and reserved register arrays immediately surrounding the csor_cs structure to provide proper access to this register.
Signed-off-by Aaron Sierra <[email protected]>
--- include/linux/fsl_ifc.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
include/linux/fsl_ifc.h +3 -3
@@ -781,13 +781,13 @@ struct fsl_ifc_regs {__be32 amask;u32 res4[0x2 ]; } amask_cs[FSL_IFC_BANK_COUNT ]; -u32 res5[0x17 ]; +u32 res5[0x18 ];struct { -__be32 csor_ext;__be32 csor; +__be32 csor_ext;u32 res6; } csor_cs[FSL_IFC_BANK_COUNT ]; -u32 res7[0x19 ]; +u32 res7[0x18 ];struct {__be32 ftim[4 ];u32 res8[0x8 ];
Signature · 1 line
1.9.1
Quoted 10 lines · Aaron Sierra
According to Freescale manuals, the
IFC_CSORn_EXTregister is located immediately _after_ the bank'sIFC_CSORnregister.This patch adjusts the
csor_extmember of and reserved register arrays immediately surrounding thecsor_csstructure to provide proper access to this register.Signed-off-by Aaron Sierra <[email protected]>---
Thanks for fixing it.
Thanks,
Prabhakar