2011-04-19 10:42:40 +00:00
|
|
|
/*
|
|
|
|
* (C) Copyright 2011 ST-Ericsson
|
|
|
|
*
|
2013-07-08 07:37:19 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
2011-04-19 10:42:40 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include <config.h>
|
2012-03-08 07:20:18 +00:00
|
|
|
#include <linux/linkage.h>
|
2011-04-19 10:42:40 +00:00
|
|
|
|
2012-03-08 07:20:18 +00:00
|
|
|
ENTRY(lowlevel_init)
|
2011-04-19 10:42:40 +00:00
|
|
|
mov pc, lr
|
2012-03-08 07:20:18 +00:00
|
|
|
ENDPROC(lowlevel_init)
|
2011-04-19 10:42:40 +00:00
|
|
|
|
|
|
|
.align 5
|
2012-03-08 07:20:18 +00:00
|
|
|
ENTRY(reset_cpu)
|
2011-06-02 21:18:32 +00:00
|
|
|
ldr r0, =CFG_PRCMU_BASE
|
|
|
|
ldr r1, =0x1
|
|
|
|
str r1, [r0, #0x228]
|
2011-04-19 10:42:40 +00:00
|
|
|
_loop_forever:
|
|
|
|
b _loop_forever
|
2012-03-08 07:20:18 +00:00
|
|
|
ENDPROC(reset_cpu)
|