]> git.dujemihanovic.xyz Git - u-boot.git/commit
powerpc: mpc85xx: Implemente workaround for CPU erratum A-007907
authorDarwin Dingel <darwin.dingel@alliedtelesis.co.nz>
Mon, 24 Oct 2016 20:48:01 +0000 (09:48 +1300)
committerYork Sun <york.sun@nxp.com>
Tue, 24 Jan 2017 21:28:02 +0000 (13:28 -0800)
commit06ad970b53a3d6aa122685e6142a04908434a8ef
tree421d254147fd51429b5d09eead885b9d87d7a526
parent0c9e85f67cd86d2d7a3424ea3ebff0e6db7a3915
powerpc: mpc85xx: Implemente workaround for CPU erratum A-007907

Core hang occurs when using L1 stashes. Workaround is to disable L1
stashes so software uses L2 cache for stashes instead.

Reviewed-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Signed-off-by: Darwin Dingel <darwin.dingel@alliedtelesis.co.nz>
Cc: York Sun <york.sun@nxp.com>
[York S: Move SYS_FSL_ERRATUM_A007907 to Kconfig]
Reviewed-by: York Sun <york.sun@nxp.com>
arch/powerpc/cpu/mpc85xx/Kconfig
arch/powerpc/cpu/mpc85xx/cmd_errata.c
arch/powerpc/cpu/mpc85xx/cpu_init.c
arch/powerpc/include/asm/processor.h