Skip to content

Commit

Permalink
CRIS v10: Break long lines in boot/rescue/head.S
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesper Nilsson committed Feb 8, 2008
1 parent 7cda012 commit 99bb22b
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions arch/cris/arch-v10/boot/rescue/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,12 @@
#define PTABLE_MAGIC 0xbeef

;; The normal Etrax100 on-chip boot ROM does serial boot at 0x380000f0.
;; That is not where we put our downloaded serial boot-code. The length is
;; enough for downloading code that loads the rest of itself (after
;; having setup the DRAM etc). It is the same length as the on-chip
;; ROM loads, so the same host loader can be used to load a rescued
;; product as well as one booted through the Etrax serial boot code.
;; That is not where we put our downloaded serial boot-code.
;; The length is enough for downloading code that loads the rest
;; of itself (after having setup the DRAM etc).
;; It is the same length as the on-chip ROM loads, so the same
;; host loader can be used to load a rescued product as well as
;; one booted through the Etrax serial boot code.

#define CODE_START 0x40000000
#define CODE_LENGTH 784
Expand Down Expand Up @@ -330,7 +331,8 @@ checksum:
moveq 0, $r0
moveq CONFIG_ETRAX_FLASH1_SIZE, $r6

;; If the first physical flash memory is exceeded wrap to the second one
;; If the first physical flash memory is exceeded wrap to the
;; second one
btstq 26, $r1 ; Are we addressing first flash?
bpl 1f
nop
Expand Down

0 comments on commit 99bb22b

Please sign in to comment.