Commit d2f386d7 authored by Greg Ungerer's avatar Greg Ungerer Committed by Linus Torvalds

[PATCH] m68knommu: remove unused vars from generic 68328 start code

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: default avatarGreg Ungerer <gerg@uclinux.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 2ae9cb6b
#include <linux/config.h> #include <linux/config.h>
.global __main .global __main
.global __ram_start
.global __ram_end
.global __rom_start .global __rom_start
.global __rom_end
.global _rambase .global _rambase
.global _ramstart .global _ramstart
...@@ -12,6 +9,7 @@ ...@@ -12,6 +9,7 @@
.global splash_bits .global splash_bits
.global _start .global _start
.global _stext .global _stext
.global _edata
#define DEBUG #define DEBUG
#define ROM_OFFSET 0x10C00000 #define ROM_OFFSET 0x10C00000
...@@ -73,7 +71,7 @@ pclp1: ...@@ -73,7 +71,7 @@ pclp1:
#ifdef CONFIG_RELOCATE #ifdef CONFIG_RELOCATE
/* Copy me to RAM */ /* Copy me to RAM */
moveal #__rom_start, %a0 moveal #__rom_start, %a0
moveal #__ram_start, %a1 moveal #_stext, %a1
moveal #_edata, %a2 moveal #_edata, %a2
/* Copy %a0 to %a1 until %a1 == %a2 */ /* Copy %a0 to %a1 until %a1 == %a2 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment