Skip to content

Commit

Permalink
[PATCH] m68knommu: remove unused vars from generic 68328 start code
Browse files Browse the repository at this point in the history
Clean out unused variable definitions from 68328 start up code.
Also use a more appropriate start address for the case of relocating
the kernel code to RAM (from ROM/flash).

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 Jun 26, 2006
1 parent 2ae9cb6 commit d2f386d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions arch/m68knommu/platform/68328/head-ram.S
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
#include <linux/config.h>

.global __main
.global __ram_start
.global __ram_end
.global __rom_start
.global __rom_end

.global _rambase
.global _ramstart

.global splash_bits
.global _start
.global _stext
.global _edata

#define DEBUG
#define ROM_OFFSET 0x10C00000
Expand Down Expand Up @@ -73,7 +71,7 @@ pclp1:
#ifdef CONFIG_RELOCATE
/* Copy me to RAM */
moveal #__rom_start, %a0
moveal #__ram_start, %a1
moveal #_stext, %a1
moveal #_edata, %a2

/* Copy %a0 to %a1 until %a1 == %a2 */
Expand Down

0 comments on commit d2f386d

Please sign in to comment.