]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
fsl_ifc: Add the workaround for erratum IFC A-003399(enabled on P1010)
authorPoonam Aggrwal <poonam.aggrwal@freescale.com>
Thu, 7 Jul 2011 15:06:47 +0000 (20:36 +0530)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 30 Sep 2011 00:01:04 +0000 (19:01 -0500)
commitbc6bbd6be85973359e89f53e3bfbba2a3549da09
tree6e898ab4aa36d24354c9d3a186eb7048def0e3ec
parentfb855f43a1cdcda5f93d971063330505548d5919
fsl_ifc: Add the workaround for erratum IFC A-003399(enabled on P1010)

Issue: Address masking doesn't work properly.
When sum of the base address, defined by BA, and memory bank size,
defined by AM, exceeds 4GB (0xffff_ffff) then AMASKn[AM] doesn't mask
CSPRn[BA] bits.

Impact:
This will impact booting when we are reprogramming CSPR0(BA) and
AMASK0(AMASK) while executing from NOR Flash.

Workaround:
Re-programming of CSPR(BA) and AMASK is done while not executing from NOR
Flash. The code which programs the BA and AMASK is executed from L2-SRAM.

Signed-off-by: Poonam Aggrwal <poonam.aggrwal@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/cpu/mpc85xx/cmd_errata.c
arch/powerpc/cpu/mpc85xx/cpu_init_early.c
arch/powerpc/cpu/mpc85xx/cpu_init_nand.c
arch/powerpc/cpu/mpc8xxx/fsl_ifc.c
arch/powerpc/include/asm/config_mpc85xx.h