John Rigby | a3f9d65 | 2011-04-19 10:42:40 +0000 | [diff] [blame] | 1 | /* |
2 | * (C) Copyright 2011 ST-Ericsson | ||||
3 | * | ||||
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 4 | * SPDX-License-Identifier: GPL-2.0+ |
John Rigby | a3f9d65 | 2011-04-19 10:42:40 +0000 | [diff] [blame] | 5 | */ |
6 | |||||
7 | #include <config.h> | ||||
Aneesh V | fd8798b | 2012-03-08 07:20:18 +0000 | [diff] [blame] | 8 | #include <linux/linkage.h> |
John Rigby | a3f9d65 | 2011-04-19 10:42:40 +0000 | [diff] [blame] | 9 | |
Aneesh V | fd8798b | 2012-03-08 07:20:18 +0000 | [diff] [blame] | 10 | ENTRY(lowlevel_init) |
John Rigby | a3f9d65 | 2011-04-19 10:42:40 +0000 | [diff] [blame] | 11 | mov pc, lr |
Aneesh V | fd8798b | 2012-03-08 07:20:18 +0000 | [diff] [blame] | 12 | ENDPROC(lowlevel_init) |
John Rigby | a3f9d65 | 2011-04-19 10:42:40 +0000 | [diff] [blame] | 13 | |
14 | .align 5 | ||||
Aneesh V | fd8798b | 2012-03-08 07:20:18 +0000 | [diff] [blame] | 15 | ENTRY(reset_cpu) |
Wolfgang Denk | 9976335 | 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 | a3f9d65 | 2011-04-19 10:42:40 +0000 | [diff] [blame] | 19 | _loop_forever: |
20 | b _loop_forever | ||||
Aneesh V | fd8798b | 2012-03-08 07:20:18 +0000 | [diff] [blame] | 21 | ENDPROC(reset_cpu) |