John Rigby | be72e0c | 2011-04-19 10:42:40 +0000 | [diff] [blame] | 1 | /* |
2 | * (C) Copyright 2011 ST-Ericsson | ||||
3 | * | ||||
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 4 | * SPDX-License-Identifier: GPL-2.0+ |
John Rigby | be72e0c | 2011-04-19 10:42:40 +0000 | [diff] [blame] | 5 | */ |
6 | |||||
7 | #include <config.h> | ||||
Aneesh V | 74236ac | 2012-03-08 07:20:18 +0000 | [diff] [blame] | 8 | #include <linux/linkage.h> |
John Rigby | be72e0c | 2011-04-19 10:42:40 +0000 | [diff] [blame] | 9 | |
Aneesh V | 74236ac | 2012-03-08 07:20:18 +0000 | [diff] [blame] | 10 | ENTRY(lowlevel_init) |
John Rigby | be72e0c | 2011-04-19 10:42:40 +0000 | [diff] [blame] | 11 | mov pc, lr |
Aneesh V | 74236ac | 2012-03-08 07:20:18 +0000 | [diff] [blame] | 12 | ENDPROC(lowlevel_init) |
John Rigby | be72e0c | 2011-04-19 10:42:40 +0000 | [diff] [blame] | 13 | |
14 | .align 5 | ||||
Aneesh V | 74236ac | 2012-03-08 07:20:18 +0000 | [diff] [blame] | 15 | ENTRY(reset_cpu) |
Wolfgang Denk | 4c96408 | 2011-06-02 23:18:32 +0200 | [diff] [blame] | 16 | ldr r0, =CFG_PRCMU_BASE |
17 | ldr r1, =0x1 | ||||
18 | str r1, [r0, #0x228] | ||||
John Rigby | be72e0c | 2011-04-19 10:42:40 +0000 | [diff] [blame] | 19 | _loop_forever: |
20 | b _loop_forever | ||||
Aneesh V | 74236ac | 2012-03-08 07:20:18 +0000 | [diff] [blame] | 21 | ENDPROC(reset_cpu) |