Skip to content

Commit

Permalink
[PATCH] m68knommu: remove __rom_end from 68360 startup code
Browse files Browse the repository at this point in the history
Remove use of __rom_end symbol all together. This helps clean out the
miscellaneous symbols lying around in the m68knommu linker script.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Greg Ungerer authored and Linus Torvalds committed Dec 4, 2006
1 parent 5a31be3 commit d773c66
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/m68knommu/platform/68360/head-ram.S
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
.global _periph_base

#define RAMEND (CONFIG_RAMBASE + CONFIG_RAMSIZE)
#define ROMEND (CONFIG_ROMBASE + CONFIG_ROMSIZE)

#define REGB 0x1000
#define PEPAR (_dprbase + REGB + 0x0016)
Expand Down Expand Up @@ -175,7 +176,7 @@ configure_chip_select_0:
move.l %d0, BR0

configure_chip_select_1:
move.l #__rom_end, %d0
move.l #ROMEND, %d0
subi.l #__rom_start, %d0
subq.l #0x01, %d0
eori.l #SIM_OR_MASK, %d0
Expand Down

0 comments on commit d773c66

Please sign in to comment.