upstream u-boot with additional patches for our devices/boards:
https://lists.denx.de/pipermail/u-boot/2017-March/282789.html (AXP crashes) ;
Gbit ethernet patch for some LIME2 revisions ;
with SPI flash support
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
407 B
25 lines
407 B
#include <config.h>
|
|
/*
|
|
* Processor reset for Nomadik
|
|
*/
|
|
|
|
.align 5
|
|
.globl reset_cpu
|
|
reset_cpu:
|
|
#if defined CONFIG_NOMADIK_8815
|
|
ldr r0, =NOMADIK_SRC_BASE
|
|
ldr r1, =0x1
|
|
str r1, [r0, #0x18]
|
|
#else
|
|
ldr r1, rstctl1 /* get clkm1 reset ctl */
|
|
mov r3, #0x0
|
|
strh r3, [r1] /* clear it */
|
|
mov r3, #0x8
|
|
strh r3, [r1] /* force dsp+arm reset */
|
|
#endif
|
|
|
|
_loop_forever:
|
|
b _loop_forever
|
|
|
|
rstctl1:
|
|
.word 0xfffece10
|
|
|