]> git.baikalelectronics.ru Git - uboot.git/commit
powerpc: e6500: Lock/unlock 1 cache instead of L1 as init_ram
authorRuchika Gupta <ruchika.gupta@nxp.com>
Thu, 2 Mar 2017 08:42:41 +0000 (14:12 +0530)
committerYork Sun <york.sun@nxp.com>
Mon, 17 Apr 2017 16:03:30 +0000 (09:03 -0700)
commit58c2c134626f334e2ff9cf9fcd552e5cb1d40774
tree170b1bf6ea3a8078a90b060e205804abd50d6792
parent3c50d3957117e8ef40327f351fa03bd37a4fad8e
powerpc: e6500: Lock/unlock 1 cache instead of L1 as init_ram

For E6500 cores, L2 cache has been used as init_ram. L1 cache is a
write through cache on E6500.If lines are not locked in both L1 and
L2 caches, crashes are observed during secure boot. This patch locks/
unlocks both L1 and L2 cache to prevent the crash.

Signed-off-by: Ruchika Gupta <ruchika.gupta@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
arch/powerpc/cpu/mpc85xx/start.S