]> git.sur5r.net Git - u-boot/commitdiff
arm: Use sections header to obtain link symbols
authorSimon Glass <sjg@chromium.org>
Tue, 5 Mar 2013 14:39:38 +0000 (14:39 +0000)
committerTom Rini <trini@ti.com>
Fri, 15 Mar 2013 20:13:58 +0000 (16:13 -0400)
Include this header to get access to link symbols, which are otherwise
removed.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/arm/include/asm/u-boot-arm.h
arch/arm/lib/board.c
board/cm4008/flash.c
board/cm41xx/flash.c

index 9f3cae5ece49dda74466f840a1792f4930b978b2..f16861ad2f7f64899ae006c948471b9fa24598f2 100644 (file)
 #define _U_BOOT_ARM_H_ 1
 
 /* for the following variables, see start.S */
-extern ulong _bss_start_ofs;   /* BSS start relative to _start */
-extern ulong _bss_end_ofs;             /* BSS end relative to _start */
-extern ulong _end_ofs;         /* end of image relative to _start */
 extern ulong IRQ_STACK_START;  /* top of IRQ stack */
 extern ulong FIQ_STACK_START;  /* top of FIQ stack */
-extern ulong _TEXT_BASE;       /* code start */
 extern ulong _datarel_start_ofs;
 extern ulong _datarelrolocal_start_ofs;
 extern ulong _datarellocal_start_ofs;
index 162e2cc86385df0f7489eef0ae2ac00c3be12fc9..0521178ac3c9bb66c10bcadaae00ea9ef6555ec8 100644 (file)
@@ -53,6 +53,7 @@
 #include <fdtdec.h>
 #include <post.h>
 #include <logbuff.h>
+#include <asm/sections.h>
 
 #ifdef CONFIG_BITBANGMII
 #include <miiphy.h>
index 5522bf085ecd6024af4519247c2469512b02d697..0faf1970421a6b2a9633602d43783dc4024d0c9a 100644 (file)
@@ -29,6 +29,7 @@
 
 #include <common.h>
 #include <linux/byteorder/swab.h>
+#include <asm/sections.h>
 
 
 flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS];   /* info for FLASH chips */
index 5522bf085ecd6024af4519247c2469512b02d697..0faf1970421a6b2a9633602d43783dc4024d0c9a 100644 (file)
@@ -29,6 +29,7 @@
 
 #include <common.h>
 #include <linux/byteorder/swab.h>
+#include <asm/sections.h>
 
 
 flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS];   /* info for FLASH chips */