Commit 62a36b1f authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] enable suspend-on-halt for NS Geode

From: Matt Mackall <mpm@selenic.com>

From: Zwane Mwaikambo <zwane@arm.linux.org.uk>

This enables deep powersaving mode on Geode boxes.
parent 87217f47
...@@ -168,6 +168,9 @@ static void __init geode_configure(void) ...@@ -168,6 +168,9 @@ static void __init geode_configure(void)
u8 ccr3, ccr4; u8 ccr3, ccr4;
local_irq_save(flags); local_irq_save(flags);
/* Suspend on halt power saving and enable #SUSP pin */
setCx86(CX86_CCR2, getCx86(CX86_CCR2) | 0x88);
ccr3 = getCx86(CX86_CCR3); ccr3 = getCx86(CX86_CCR3);
setCx86(CX86_CCR3, (ccr3 & 0x0f) | 0x10); /* Enable */ setCx86(CX86_CCR3, (ccr3 & 0x0f) | 0x10); /* Enable */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment