powerpc/85xx: add hardware automatically enter pw20 state
authorWang Dongsheng <dongsheng.wang@freescale.com>
Tue, 17 Dec 2013 08:17:01 +0000 (16:17 +0800)
committerScott Wood <scottwood@freescale.com>
Wed, 8 Jan 2014 01:40:28 +0000 (19:40 -0600)
commit1d47ddf7c3725e889763b1fffa70a04e1061940b
treeab109ea6d4c9f052c6515b1b0c40659076a4d1f3
parent202e059ce34d5c5e3ff8a542866c280d575ccb17
powerpc/85xx: add hardware automatically enter pw20 state

Using hardware features make core automatically enter PW20 state.
Set a TB count to hardware, the effective count begins when PW10
is entered. When the effective period has expired, the core will
proceed from PW10 to PW20 if no exit conditions have occurred during
the period.

Signed-off-by: Wang Dongsheng <dongsheng.wang@freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/kernel/cpu_setup_fsl_booke.S