summaryrefslogtreecommitdiff
path: root/arch/sandbox/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2013-03-05 14:39:37 +0000
committerTom Rini <trini@ti.com>2013-03-15 16:13:58 -0400
commit1865286466a5d0c7f2e3c37632da56556c838e9e (patch)
tree9e3ef4026c009acb4964430e7400f7955f734bf9 /arch/sandbox/include
parent3929fb0a141530551b3fce15ee08629f80d5ef2a (diff)
downloadu-boot-imx-1865286466a5d0c7f2e3c37632da56556c838e9e.zip
u-boot-imx-1865286466a5d0c7f2e3c37632da56556c838e9e.tar.gz
u-boot-imx-1865286466a5d0c7f2e3c37632da56556c838e9e.tar.bz2
Introduce generic link section.h symbol files
We create a separate header file for link symbols defined by the link scripts. It is helpful to have these all in one place and try to make them common across architectures. Since Linux already has a similar file, we bring this in even though many of the symbols there are not relevant to us. Each architecture has its own asm/sections.h where symbols specifc to that architecture can be added. For now everything except AVR32 just includes the generic header. One change is needed in arch/avr32/lib/board.c to make this conversion work. Reviewed-by: Tom Rini <trini@ti.com> (version 5) Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox/include')
-rw-r--r--arch/sandbox/include/asm/sections.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sandbox/include/asm/sections.h b/arch/sandbox/include/asm/sections.h
index eafce7d..4c37860 100644
--- a/arch/sandbox/include/asm/sections.h
+++ b/arch/sandbox/include/asm/sections.h
@@ -9,6 +9,8 @@
#ifndef __SANDBOX_SECTIONS_H
#define __SANDBOX_SECTIONS_H
+#include <asm-generic/sections.h>
+
struct sb_cmdline_option;
extern struct sb_cmdline_option *__u_boot_sandbox_option_start[],