FreeCalypso > hg > freecalypso-sw
changeset 514:e201f2130c9b
gsm-fw/sysglue/sysinit.S: enable Calypso boot ROM on entry for all targets
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Wed, 02 Jul 2014 03:46:19 +0000 |
parents | 383abdbc5d35 |
children | cb38dc8aed39 |
files | gsm-fw/sysglue/sysinit.S |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/gsm-fw/sysglue/sysinit.S Wed Jul 02 03:40:42 2014 +0000 +++ b/gsm-fw/sysglue/sysinit.S Wed Jul 02 03:46:19 2014 +0000 @@ -29,6 +29,10 @@ stmia r9!, {r0-r7} subs r10, r10, #0x20 bhi 1b +/* enable Calypso boot ROM for the ARM exception and IRQ/FIQ vectors */ + ldr r1, =0xFFFFFB10 + mov r2, #0x0100 + strh r2, [r1] /* now we can call any function w/o worry as to where it lives */ /* clear int.bss and ext.bss, using bzero() from libc */ ldr r0, =__intbss_start