arm: ls102xa: workaround for cache coherency problem
authorchenhui zhao <chenhui.zhao@freescale.com>
Fri, 23 Jan 2015 07:53:53 +0000 (15:53 +0800)
committerYork Sun <yorksun@freescale.com>
Tue, 24 Feb 2015 21:10:59 +0000 (13:10 -0800)
commit9f076be71313c1900fa9824e1f866e750c32e0db
treeed4670f8ab7f8341ced7f96c04ffea5ad9d57875
parente4e8cb71384a7572b32509df6aa257809b8dcd5d
arm: ls102xa: workaround for cache coherency problem

The RCPM FSM may not be reset after power-on, for example,
in the cases of cold boot and wakeup from deep sleep.
It causes cache coherency problem and may block deep sleep.
Therefore, reset them if they are not be reset.

Signed-off-by: Chenhui Zhao <chenhui.zhao@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
arch/arm/cpu/armv7/ls102xa/cpu.c