summaryrefslogtreecommitdiff
path: root/cesar/ecos
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/ecos')
-rw-r--r--cesar/ecos/packages/hal/sparc/leon/current/include/halboot.si16
1 files changed, 7 insertions, 9 deletions
diff --git a/cesar/ecos/packages/hal/sparc/leon/current/include/halboot.si b/cesar/ecos/packages/hal/sparc/leon/current/include/halboot.si
index b9461aba49..5107de0da3 100644
--- a/cesar/ecos/packages/hal/sparc/leon/current/include/halboot.si
+++ b/cesar/ecos/packages/hal/sparc/leon/current/include/halboot.si
@@ -144,20 +144,18 @@
nop
! no so make some initialization
st %g0, [%l0 + 0x1C] ! clear LEON registers
- st %g0, [%l0 + 0x20] !
- st %g0, [%l0 + 0x90] !
- st %g0, [%l0 + 0x94] !
- st %g0, [%l0 + 0x98] !
- st %g0, [%l0 + 0x9C] !
- st %g0, [%l0 + 0x78] !
- st %g0, [%l0 + 0x88] !
+ st %g0, [%l0 + 0x20] !
+ st %g0, [%l0 + 0x90] !
+ st %g0, [%l0 + 0x94] !
+ st %g0, [%l0 + 0x98] !
+ st %g0, [%l0 + 0x9C] !
+ st %g0, [%l0 + 0x78] !
+ st %g0, [%l0 + 0x88] !
set 0x50, %l1 ! config UART1
st %l1, [%l0 + 0x7C]
set 6, %l1
st %l1, [%l0 + 0x78] ! enable UART1
-
-
5:
! then copy the branch instructions into the vector
rd %tbr, %g1