fsl_ifc: Fix csor_ext position in fsl_ifc_regs
authorAaron Sierra <asierra@xes-inc.com>
Fri, 15 Aug 2014 21:07:48 +0000 (16:07 -0500)
committerScott Wood <scottwood@freescale.com>
Wed, 3 Sep 2014 23:02:55 +0000 (18:02 -0500)
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 <asierra@xes-inc.com>
Acked-by: Prabhakar Kushwaha <prabhakar@freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
include/linux/fsl_ifc.h

index f49ddb1b2273b0d46e1cbf07ca434287a42e3cca..84d60cb841b100eaa71b39612b3d397b37948ddf 100644 (file)
@@ -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];