powerpc: e6500: Lock/unlock L2 cache instead of L1 as init_ram
authorYork Sun <yorksun@freescale.com>
Mon, 17 Aug 2015 20:31:52 +0000 (13:31 -0700)
committerYork Sun <yorksun@freescale.com>
Wed, 2 Sep 2015 01:42:54 +0000 (20:42 -0500)
commit2becdc6f9df470b6c768d59509e661d1066b38c7
treee59d49b8c3e661e07a50ca475ad17a3030735cf4
parentb3142e2cf82ab207a88868264d709a40e83f065e
powerpc: e6500: Lock/unlock L2 cache instead of L1 as init_ram

MPC85xx has been using locked L1 cache as init_ram. L1 cache is a write
through cache on E6500. L2 cache is enabled to to hold the data. This
patch locks/unlocks L2 cache to ensure no data cast out from L2 cache.

Signed-off-by: York Sun <yorksun@freescale.com>
Reported-by: Jeffery Zhu <Jefferry.Zhu@freescale.com>
arch/powerpc/cpu/mpc85xx/start.S