Alessandro Rubini | bb930d1 | 2009-01-24 18:10:37 +0100 | [diff] [blame] | 1 | #include <config.h> |
2 | /* | ||||
3 | * Processor reset for Nomadik | ||||
4 | */ | ||||
5 | |||||
6 | .align 5 | ||||
7 | .globl reset_cpu | ||||
8 | reset_cpu: | ||||
Alessandro Rubini | e1705fc | 2009-06-22 09:18:47 +0200 | [diff] [blame] | 9 | ldr r0, =NOMADIK_SRC_BASE /* System and Reset Controller */ |
Alessandro Rubini | bb930d1 | 2009-01-24 18:10:37 +0100 | [diff] [blame] | 10 | ldr r1, =0x1 |
11 | str r1, [r0, #0x18] | ||||
Alessandro Rubini | bb930d1 | 2009-01-24 18:10:37 +0100 | [diff] [blame] | 12 | |
13 | _loop_forever: | ||||
14 | b _loop_forever |