Gitiles
Code Review
Sign In
192.168.1.100
/
R306
/
824eb0c6ade808c4501e62fbcf0025f4e694cd11
/
.
/
ap
/
os
/
linux
/
linux-3.4.x
/
arch
/
arm
/
mach-zx297510
/
reset.c
blob: 351e1e121f1b987b5ba66aafa675c39cc47baaee [
file
] [
log
] [
blame
]
#include
<mach/iomap.h>
#include
<linux/delay.h>
#include
<linux/io.h>
void
zx297510_restart
(
char
core
,
const
char
*
time
)
{
/* reset */
void
__iomem
*
reset_reg
;
reset_reg
=
ZX29_TOP_VA
;
mdelay
(
600
);
/* wait 600 ms */
writel
(
0x1
<<
31
,
reset_reg
);
}