fsl_ifc: add support for different IFC bank count
Calculate reserved fields according to IFC bank count 1. Move csor_ext register behind csor register and fix res offset 2. Move ifc bank count to config_mpc85xx.h to support 8 bank count 3. Guard fsl_ifc.h with CONFIG_FSL_IFC macro to eliminate the compile error on some devices that does not have IFC controller. Signed-off-by:Mingkai Hu <Mingkai.hu@freescale.com> Signed-off-by:
Andy Fleming <afleming@freescale.com>
Showing
- arch/powerpc/cpu/mpc8xxx/fsl_ifc.c 57 additions, 1 deletionarch/powerpc/cpu/mpc8xxx/fsl_ifc.c
- arch/powerpc/include/asm/config_mpc85xx.h 4 additions, 0 deletionsarch/powerpc/include/asm/config_mpc85xx.h
- arch/powerpc/include/asm/fsl_ifc.h 64 additions, 31 deletionsarch/powerpc/include/asm/fsl_ifc.h
Loading
Please register or sign in to comment