Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

powerpc/mpc85xx: Add new ext fields to Integrated FLash Controller

Freescale's Integrated Flash controller(IFC) v1.1.0 supports 40 bit
address bus width.
In case more than 32 bit address is used, the EXT registers should be set.

Add support of ext registers.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: York Sun <yorksun@freescale.com>
Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>

authored by

Prabhakar Kushwaha and committed by
Kumar Gala
0adbe663 f4dfef75

+8 -6
+8 -6
arch/powerpc/include/asm/fsl_ifc.h
··· 768 768 */ 769 769 struct fsl_ifc_regs { 770 770 __be32 ifc_rev; 771 - u32 res1[0x3]; 771 + u32 res1[0x2]; 772 772 struct { 773 + __be32 cspr_ext; 773 774 __be32 cspr; 774 - u32 res2[0x2]; 775 + u32 res2; 775 776 } cspr_cs[FSL_IFC_BANK_COUNT]; 776 - u32 res3[0x18]; 777 + u32 res3[0x19]; 777 778 struct { 778 779 __be32 amask; 779 780 u32 res4[0x2]; 780 781 } amask_cs[FSL_IFC_BANK_COUNT]; 781 - u32 res5[0x18]; 782 + u32 res5[0x17]; 782 783 struct { 784 + __be32 csor_ext; 783 785 __be32 csor; 784 - u32 res6[0x2]; 786 + u32 res6; 785 787 } csor_cs[FSL_IFC_BANK_COUNT]; 786 - u32 res7[0x18]; 788 + u32 res7[0x19]; 787 789 struct { 788 790 __be32 ftim[4]; 789 791 u32 res8[0x8];