summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-mxc/system.c
diff options
context:
space:
mode:
authorDmitriy Taychenachev <dimichxp@gmail.com>2009-07-31 20:29:22 +0900
committerSascha Hauer <s.hauer@pengutronix.de>2009-08-14 12:40:46 +0200
commitfd6ac7bb9d671d36fd7536c68fde977d197756ab (patch)
tree4c1993ee4079a55c6d621b46dba4826b92e3c028 /arch/arm/plat-mxc/system.c
parent8e5be212cba6675dc363a224ce4a98bb07039b4b (diff)
downloadblackbird-op-linux-fd6ac7bb9d671d36fd7536c68fde977d197756ab.tar.gz
blackbird-op-linux-fd6ac7bb9d671d36fd7536c68fde977d197756ab.zip
MXC: add basic MXC91231 support
Signed-off-by: Dmitriy Taychenachev <dimichxp@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc/system.c')
-rw-r--r--arch/arm/plat-mxc/system.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/system.c b/arch/arm/plat-mxc/system.c
index 15e30532f4a5..97f42799fa58 100644
--- a/arch/arm/plat-mxc/system.c
+++ b/arch/arm/plat-mxc/system.c
@@ -27,6 +27,7 @@
#include <linux/delay.h>
#include <mach/hardware.h>
+#include <mach/common.h>
#include <asm/proc-fns.h>
#include <asm/system.h>
@@ -39,6 +40,12 @@ void arch_reset(char mode, const char *cmd)
{
unsigned int wcr_enable;
+#ifdef CONFIG_ARCH_MXC91231
+ if (cpu_is_mxc91231()) {
+ mxc91231_arch_reset(mode, cmd);
+ return;
+ }
+#endif
if (cpu_is_mx1()) {
wcr_enable = (1 << 0);
} else {
OpenPOWER on IntegriCloud