From 1865286466a5d0c7f2e3c37632da56556c838e9e Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Tue, 5 Mar 2013 14:39:37 +0000 Subject: 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 (version 5) Signed-off-by: Simon Glass --- arch/sandbox/include/asm/sections.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch/sandbox') diff --git a/arch/sandbox/include/asm/sections.h b/arch/sandbox/include/asm/sections.h index eafce7d8ab..4c378600b0 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 + struct sb_cmdline_option; extern struct sb_cmdline_option *__u_boot_sandbox_option_start[], -- cgit v1.2.1