diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2008-06-18 17:26:52 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-06-26 02:48:56 -0400 |
commit | fc4033b2f8b1482022bff3d05505a1b1631bb6de (patch) | |
tree | c84b275968011911d8c96acebe89aa2dd92323bf /arch/powerpc/kernel/cputable.c | |
parent | 3dfa8773674e16f95f70a0e631e80c69390d04d7 (diff) |
powerpc/85xx: add DOZE/NAP support for e500 core
The e500 core enter DOZE/NAP power-saving modes when the core go to
cpu_idle routine.
The power management default running mode is DOZE, If the user
echo 1 > /proc/sys/kernel/powersave-nap
the system will change to NAP running mode.
Signed-off-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/cputable.c')
-rw-r--r-- | arch/powerpc/kernel/cputable.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c index aa421f5651c8..c5397c11ae91 100644 --- a/arch/powerpc/kernel/cputable.c +++ b/arch/powerpc/kernel/cputable.c | |||
@@ -1491,7 +1491,6 @@ static struct cpu_spec __initdata cpu_specs[] = { | |||
1491 | .pvr_mask = 0xffff0000, | 1491 | .pvr_mask = 0xffff0000, |
1492 | .pvr_value = 0x80200000, | 1492 | .pvr_value = 0x80200000, |
1493 | .cpu_name = "e500", | 1493 | .cpu_name = "e500", |
1494 | /* xxx - galak: add CPU_FTR_MAYBE_CAN_DOZE */ | ||
1495 | .cpu_features = CPU_FTRS_E500, | 1494 | .cpu_features = CPU_FTRS_E500, |
1496 | .cpu_user_features = COMMON_USER_BOOKE | | 1495 | .cpu_user_features = COMMON_USER_BOOKE | |
1497 | PPC_FEATURE_HAS_SPE_COMP | | 1496 | PPC_FEATURE_HAS_SPE_COMP | |
@@ -1508,7 +1507,6 @@ static struct cpu_spec __initdata cpu_specs[] = { | |||
1508 | .pvr_mask = 0xffff0000, | 1507 | .pvr_mask = 0xffff0000, |
1509 | .pvr_value = 0x80210000, | 1508 | .pvr_value = 0x80210000, |
1510 | .cpu_name = "e500v2", | 1509 | .cpu_name = "e500v2", |
1511 | /* xxx - galak: add CPU_FTR_MAYBE_CAN_DOZE */ | ||
1512 | .cpu_features = CPU_FTRS_E500_2, | 1510 | .cpu_features = CPU_FTRS_E500_2, |
1513 | .cpu_user_features = COMMON_USER_BOOKE | | 1511 | .cpu_user_features = COMMON_USER_BOOKE | |
1514 | PPC_FEATURE_HAS_SPE_COMP | | 1512 | PPC_FEATURE_HAS_SPE_COMP | |
@@ -1526,7 +1524,6 @@ static struct cpu_spec __initdata cpu_specs[] = { | |||
1526 | .pvr_mask = 0xffff0000, | 1524 | .pvr_mask = 0xffff0000, |
1527 | .pvr_value = 0x80230000, | 1525 | .pvr_value = 0x80230000, |
1528 | .cpu_name = "e500mc", | 1526 | .cpu_name = "e500mc", |
1529 | /* xxx - galak: add CPU_FTR_MAYBE_CAN_DOZE */ | ||
1530 | .cpu_features = CPU_FTRS_E500MC, | 1527 | .cpu_features = CPU_FTRS_E500MC, |
1531 | .cpu_user_features = COMMON_USER_BOOKE | PPC_FEATURE_HAS_FPU, | 1528 | .cpu_user_features = COMMON_USER_BOOKE | PPC_FEATURE_HAS_FPU, |
1532 | .icache_bsize = 64, | 1529 | .icache_bsize = 64, |