Skip to content
Snippets Groups Projects
Commit e103b7ae authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

arm: Use sections header to obtain link symbols


Include this header to get access to link symbols, which are otherwise
removed.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 18652864
No related branches found
No related tags found
No related merge requests found
...@@ -30,12 +30,8 @@ ...@@ -30,12 +30,8 @@
#define _U_BOOT_ARM_H_ 1 #define _U_BOOT_ARM_H_ 1
/* for the following variables, see start.S */ /* 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 IRQ_STACK_START; /* top of IRQ stack */
extern ulong FIQ_STACK_START; /* top of FIQ stack */ extern ulong FIQ_STACK_START; /* top of FIQ stack */
extern ulong _TEXT_BASE; /* code start */
extern ulong _datarel_start_ofs; extern ulong _datarel_start_ofs;
extern ulong _datarelrolocal_start_ofs; extern ulong _datarelrolocal_start_ofs;
extern ulong _datarellocal_start_ofs; extern ulong _datarellocal_start_ofs;
......
...@@ -53,6 +53,7 @@ ...@@ -53,6 +53,7 @@
#include <fdtdec.h> #include <fdtdec.h>
#include <post.h> #include <post.h>
#include <logbuff.h> #include <logbuff.h>
#include <asm/sections.h>
#ifdef CONFIG_BITBANGMII #ifdef CONFIG_BITBANGMII
#include <miiphy.h> #include <miiphy.h>
......
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
#include <common.h> #include <common.h>
#include <linux/byteorder/swab.h> #include <linux/byteorder/swab.h>
#include <asm/sections.h>
flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; /* info for FLASH chips */ flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; /* info for FLASH chips */
......
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
#include <common.h> #include <common.h>
#include <linux/byteorder/swab.h> #include <linux/byteorder/swab.h>
#include <asm/sections.h>
flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; /* info for FLASH chips */ flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; /* info for FLASH chips */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment