[PATCH] m68knommu: use Kconfig RAM config options in 68328 startup code

Switch to using the new RAM Kconfig settings, instead of linker defined
regions in ROM specific 68328 startup code.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by Greg Ungerer and committed by Linus Torvalds 01f7e673 f5c7726f

+10 -8
+10 -8
arch/m68knommu/platform/68328/head-rom.S
··· 28 _ramend: 29 .long 0 30 31 #ifdef CONFIG_INIT_LCD 32 splash_bits: 33 #include "bootlogo.rh" ··· 50 moveb #0x81, 0xfffffA27 /* LCKCON */ 51 movew #0xff00, 0xfffff412 /* LCD pins */ 52 #endif 53 - moveal #__ramend-CONFIG_MEMORY_RESERVE*0x100000 - 0x10, %sp 54 movew #32767, %d0 /* PLL settle wait loop */ 55 1: subq #1, %d0 56 bne 1b ··· 75 bhi 1b 76 77 movel #_sdata, %d0 78 - movel %d0, _rambase 79 - movel #_ebss, %d0 80 - movel %d0, _ramstart 81 - movel #__ramend-CONFIG_MEMORY_RESERVE*0x100000, %d0 82 - movel %d0, _ramend 83 - movel #__ramvec, %d0 84 - movel %d0, _ramvec 85 86 /* 87 * load the current task pointer and stack
··· 28 _ramend: 29 .long 0 30 31 + #define RAMEND (CONFIG_RAMBASE + CONFIG_RAMSIZE) 32 + 33 #ifdef CONFIG_INIT_LCD 34 splash_bits: 35 #include "bootlogo.rh" ··· 48 moveb #0x81, 0xfffffA27 /* LCKCON */ 49 movew #0xff00, 0xfffff412 /* LCD pins */ 50 #endif 51 + moveal #RAMEND-CONFIG_MEMORY_RESERVE*0x100000 - 0x10, %sp 52 movew #32767, %d0 /* PLL settle wait loop */ 53 1: subq #1, %d0 54 bne 1b ··· 73 bhi 1b 74 75 movel #_sdata, %d0 76 + movel %d0, _rambase 77 + movel #_ebss, %d0 78 + movel %d0, _ramstart 79 + movel #RAMEND-CONFIG_MEMORY_RESERVE*0x100000, %d0 80 + movel %d0, _ramend 81 + movel #CONFIG_VECTORBASE, %d0 82 + movel %d0, _ramvec 83 84 /* 85 * load the current task pointer and stack