]> git.sur5r.net Git - u-boot/commit
mpc85xx/t104x: Enable L2 and CPC cache when resume
authorTang Yuantian <yuantian.tang@freescale.com>
Fri, 4 Jul 2014 09:39:26 +0000 (17:39 +0800)
committerYork Sun <yorksun@freescale.com>
Tue, 22 Jul 2014 23:25:55 +0000 (16:25 -0700)
commit7cb7272365983e3a1eedf18a9f688c825e1cf95e
tree5ce567157d236767a0f05940045bf6f8c3c27ca3
parenta1399a918720337ad14053cf6185786aa33b58b2
mpc85xx/t104x: Enable L2 and CPC cache when resume

When resume from deep sleep, uboot needs to enable L2 and CPC
cache, or they would be keeping unusable in kernel because
kernel didn't enble or initialized them.
This patch didn't change the existing L2 cache enabling code,
just put them in a function.

Signed-off-by: Tang Yuantian <Yuantian.Tang@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
arch/powerpc/cpu/mpc85xx/cpu_init.c
arch/powerpc/include/asm/cache.h
arch/powerpc/lib/board.c