]> git.sur5r.net Git - u-boot/blobdiff - arch/sh/cpu/sh3/start.S
Replace CONFIG_SYS_GBL_DATA_SIZE by auto-generated value
[u-boot] / arch / sh / cpu / sh3 / start.S
index c0f83261d10fd9c1584c316563948b056f3d1b17..9dd23032657b1850c80b9783dfac7407218c5b04 100644 (file)
@@ -21,6 +21,7 @@
  * MA 02111-1307 USA
  */
 
+#include <asm-offsets.h>
 #include <config.h>
 #include <version.h>
 
@@ -72,6 +73,6 @@ loop:
 ._reloc_dst_end:       .long   reloc_dst_end
 ._bss_start:           .long   bss_start
 ._bss_end:             .long   bss_end
-._gd_init:             .long   (_start - CONFIG_SYS_GBL_DATA_SIZE)
-._stack_init:  .long   (_start - CONFIG_SYS_GBL_DATA_SIZE - CONFIG_SYS_MALLOC_LEN - 16)
+._gd_init:             .long   (_start - GENERATED_GBL_DATA_SIZE)
+._stack_init:  .long   (_start - GENERATED_GBL_DATA_SIZE - CONFIG_SYS_MALLOC_LEN - 16)
 ._sh_generic_init:     .long   sh_generic_init