diff options
| author | Simon Glass <sjg@chromium.org> | 2013-03-05 14:39:54 +0000 |
|---|---|---|
| committer | Tom Rini <trini@ti.com> | 2013-03-15 16:14:00 -0400 |
| commit | 86cfb6bdecc3a312a939bbd89560f500f45193c3 (patch) | |
| tree | 8d087d65dea22220c82000febb7bb5a30478ea93 /arch/x86/lib | |
| parent | be274b99abd5d8ef3b57aa16a3443b0950002c94 (diff) | |
| download | olio-uboot-2014.01-86cfb6bdecc3a312a939bbd89560f500f45193c3.tar.xz olio-uboot-2014.01-86cfb6bdecc3a312a939bbd89560f500f45193c3.zip | |
x86: Use sections header to obtain link symbols
These are defined in asm-generic/sections.h, so remove them from
architecture-specific files.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/lib')
| -rw-r--r-- | arch/x86/lib/board.c | 1 | ||||
| -rw-r--r-- | arch/x86/lib/init_helpers.c | 1 | ||||
| -rw-r--r-- | arch/x86/lib/relocate.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/lib/board.c b/arch/x86/lib/board.c index 555301a24..452e5d826 100644 --- a/arch/x86/lib/board.c +++ b/arch/x86/lib/board.c @@ -38,6 +38,7 @@ #include <asm/u-boot-x86.h> #include <asm/relocate.h> #include <asm/processor.h> +#include <asm/sections.h> #include <asm/init_helpers.h> #include <asm/init_wrappers.h> diff --git a/arch/x86/lib/init_helpers.c b/arch/x86/lib/init_helpers.c index 7df9536a4..af9dbc146 100644 --- a/arch/x86/lib/init_helpers.c +++ b/arch/x86/lib/init_helpers.c @@ -32,6 +32,7 @@ #include <spi.h> #include <status_led.h> #include <asm/processor.h> +#include <asm/sections.h> #include <asm/u-boot-x86.h> #include <linux/compiler.h> diff --git a/arch/x86/lib/relocate.c b/arch/x86/lib/relocate.c index e893c2b21..f178db9c8 100644 --- a/arch/x86/lib/relocate.c +++ b/arch/x86/lib/relocate.c @@ -36,6 +36,7 @@ #include <malloc.h> #include <asm/u-boot-x86.h> #include <asm/relocate.h> +#include <asm/sections.h> #include <elf.h> int copy_uboot_to_ram(void) |