]> git.dujemihanovic.xyz Git - u-boot.git/commit
fsl_ifc: add support for different IFC bank count
authorMingkai Hu <Mingkai.hu@freescale.com>
Thu, 16 May 2013 02:18:13 +0000 (10:18 +0800)
committerAndy Fleming <afleming@freescale.com>
Thu, 20 Jun 2013 22:08:49 +0000 (17:08 -0500)
commit362ee04b797d02117e48312010974d69c325be60
treec2333603c11cd6664d01b5e647d4974c8f9a5462
parent69fdf900105d9f730b526c760c082d1f6641a489
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>
arch/powerpc/cpu/mpc8xxx/fsl_ifc.c
arch/powerpc/include/asm/config_mpc85xx.h
arch/powerpc/include/asm/fsl_ifc.h