blob: 289cfb07794aec52b1a5e91414fe9f2d9f40032a [file] [log] [blame]
John Rigbya3f9d652011-04-19 10:42:40 +00001/*
2 * (C) Copyright 2011 ST-Ericsson
3 *
4 * See file CREDITS for list of people who contributed to this
5 * project.
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 */
21
22#include <config.h>
Aneesh Vfd8798b2012-03-08 07:20:18 +000023#include <linux/linkage.h>
John Rigbya3f9d652011-04-19 10:42:40 +000024
Aneesh Vfd8798b2012-03-08 07:20:18 +000025ENTRY(lowlevel_init)
John Rigbya3f9d652011-04-19 10:42:40 +000026 mov pc, lr
Aneesh Vfd8798b2012-03-08 07:20:18 +000027ENDPROC(lowlevel_init)
John Rigbya3f9d652011-04-19 10:42:40 +000028
29 .align 5
Aneesh Vfd8798b2012-03-08 07:20:18 +000030ENTRY(reset_cpu)
Wolfgang Denk99763352011-06-02 23:18:32 +020031 ldr r0, =CFG_PRCMU_BASE
32 ldr r1, =0x1
33 str r1, [r0, #0x228]
John Rigbya3f9d652011-04-19 10:42:40 +000034_loop_forever:
35 b _loop_forever
Aneesh Vfd8798b2012-03-08 07:20:18 +000036ENDPROC(reset_cpu)