summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/arch-omap3/cpu.h
diff options
context:
space:
mode:
authorSteve Sakoman <steve@sakoman.com>2010-08-25 13:22:44 -0700
committerSandeep Paulraj <s-paulraj@ti.com>2010-09-08 14:51:18 -0400
commit543431b66dd9f3526f23546cac962c29ad0f485a (patch)
tree139fd7de177b6c747fdfc3bd3d80b7e96a5ca313 /arch/arm/include/asm/arch-omap3/cpu.h
parent0c0a0e07811965188d5f64cdbc186331c0598fa6 (diff)
downloadtalos-obmc-uboot-543431b66dd9f3526f23546cac962c29ad0f485a.tar.gz
talos-obmc-uboot-543431b66dd9f3526f23546cac962c29ad0f485a.zip
ARMV7: OMAP3: Fix broken reset command on OMAP36XX/37XX and OMAP4
Using the reset command on OMAP36XX/37XX and OMAP4 caused a hang. This patch uses the reset bit appropriate for each CPU architecture. Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Diffstat (limited to 'arch/arm/include/asm/arch-omap3/cpu.h')
-rw-r--r--arch/arm/include/asm/arch-omap3/cpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-omap3/cpu.h b/arch/arm/include/asm/arch-omap3/cpu.h
index 99da756bc2..962d6d40aa 100644
--- a/arch/arm/include/asm/arch-omap3/cpu.h
+++ b/arch/arm/include/asm/arch-omap3/cpu.h
@@ -419,6 +419,7 @@ struct prm {
};
#else /* __ASSEMBLY__ */
#define PRM_RSTCTRL 0x48307250
+#define PRM_RSTCTRL_RESET 0x04
#endif /* __ASSEMBLY__ */
#endif /* __KERNEL_STRICT_NAMES */
OpenPOWER on IntegriCloud