summaryrefslogtreecommitdiff
path: root/arch/arm/mach-nomadik/reset.S
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2015-02-20 17:04:07 +0900
committerTom Rini <trini@ti.com>2015-02-21 08:23:51 -0500
commitef917ddb1d9240b075f3c03ddf6e246c89b86fa6 (patch)
tree52d222ac95f2042c025caa41bc710bc2ff137c33 /arch/arm/mach-nomadik/reset.S
parent56f86e39e80c5cbb17bec42cf6931cd203176830 (diff)
downloadu-boot-imx-ef917ddb1d9240b075f3c03ddf6e246c89b86fa6.zip
u-boot-imx-ef917ddb1d9240b075f3c03ddf6e246c89b86fa6.tar.gz
u-boot-imx-ef917ddb1d9240b075f3c03ddf6e246c89b86fa6.tar.bz2
ARM: nomadik: move SoC sources to mach-nomadik
Move arch/arm/cpu/arm926ejs/nomadik/* -> arch/arm/mach-nomadik/* Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Nomadik Linux Team <STN_WMM_nomadik_linux@list.st.com> Cc: Alessandro Rubini <rubini@unipv.it>
Diffstat (limited to 'arch/arm/mach-nomadik/reset.S')
-rw-r--r--arch/arm/mach-nomadik/reset.S14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/mach-nomadik/reset.S b/arch/arm/mach-nomadik/reset.S
new file mode 100644
index 0000000..ec95472
--- /dev/null
+++ b/arch/arm/mach-nomadik/reset.S
@@ -0,0 +1,14 @@
+#include <config.h>
+/*
+ * Processor reset for Nomadik
+ */
+
+ .align 5
+.globl reset_cpu
+reset_cpu:
+ ldr r0, =NOMADIK_SRC_BASE /* System and Reset Controller */
+ ldr r1, =0x1
+ str r1, [r0, #0x18]
+
+_loop_forever:
+ b _loop_forever