Skip to contentSkip to conversation

ARM: OMAP: full-retention fix for 2430

PATCH In review Kevin Hilman 2 participants 2 messages Jul 24, 2007 – Aug 10, 2007

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: OMAP: full-retention fix for 2430

This fixes a bug where the 2430 crashes upon entering full-retention due to a register difference between 2420 and 2430.

---
 arch/arm/mach-omap2/pm.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-omap2/pm.c +1 -1
Index: dev/arch/arm/mach-omap2/pm.c
===================================================================
@@ -346,7 +346,7 @@ static struct subsys_attribute sleep_whi
 
 static struct clk *osc_ck, *emul_ck;
 
-#define CONTROL_DEVCONF		__REG32(0x48000274)
+#define CONTROL_DEVCONF		__REG32(OMAP2_CTRL_BASE + 0x274)
 
 static int omap2_fclks_active(void)
 {

--

maintainer
#1 lore raw
Quoted 14 lines · Kevin Hilman

This fixes a bug where the 2430 crashes upon entering full-retention due to a register difference between 2420 and 2430.

---
 arch/arm/mach-omap2/pm.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: dev/arch/arm/mach-omap2/pm.c
===================================================================

arch/arm/mach-omap2/pm.c static struct subsys_attribute sleep_whi · line 352

Quoted 8 lines
arch/arm/mach-omap2/pm.c +1 -1
@@ -346,7 +346,7 @@ static struct subsys_attribute sleep_whi
 
 static struct clk *osc_ck, *emul_ck;
 
-#define CONTROL_DEVCONF		__REG32(0x48000274)
+#define CONTROL_DEVCONF		__REG32(OMAP2_CTRL_BASE + 0x274)
 
 static int omap2_fclks_active(void)
 {

Pushing today.

Tony