[haiku-commits] haiku: hrev44120 - src/system/boot/platform/raspberrypi_arm

  • From: kallisti5@xxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 6 May 2012 19:23:00 +0200 (CEST)

hrev44120 adds 1 changeset to branch 'master'
old head: 19b42424c652a6557a21ecdf655256ed2cd95a5b
new head: 60433c9277ab38aad660d4bf9831cd709b7fed5c

----------------------------------------------------------------------------

60433c9: rpi: Reduce superfluous code in loader.
  
  * Remove unneeded complexity and a few left over
    linux items

                          [ Alexander von Gluck IV <kallisti5@xxxxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev44120
Commit:      60433c9277ab38aad660d4bf9831cd709b7fed5c
URL:         http://cgit.haiku-os.org/haiku/commit/?id=60433c9
Author:      Alexander von Gluck IV <kallisti5@xxxxxxxxxxx>
Date:        Sun May  6 17:20:26 2012 UTC

----------------------------------------------------------------------------

1 file changed, 2 insertions(+), 14 deletions(-)
src/system/boot/platform/raspberrypi_arm/entry.S |   16 ++--------------

----------------------------------------------------------------------------

diff --git a/src/system/boot/platform/raspberrypi_arm/entry.S 
b/src/system/boot/platform/raspberrypi_arm/entry.S
index 8e83693..2b2fe49 100644
--- a/src/system/boot/platform/raspberrypi_arm/entry.S
+++ b/src/system/boot/platform/raspberrypi_arm/entry.S
@@ -1,21 +1,9 @@
 .globl _start
 _start:
-       b boot
-
-.balign 0x20
-boot:
-       mov r0, #0
-       @ Machine ID 3138 (0xC42)
-       mov r1, #66
-       orr r1, r1, #3072
-
-       ldr pc, kern_addr
-
-kern_addr:
-       .word kern
+       b jmp_loader
 
 .balign 0x8000, 0
-kern:
+jmp_loader:
        /* Set up 1MB C Stack Space */
        mov sp, #0x100000
        mov r4, #0


Other related posts:

  • » [haiku-commits] haiku: hrev44120 - src/system/boot/platform/raspberrypi_arm - kallisti5