summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2013-03-05 14:39:39 +0000
committerTom Rini <trini@ti.com>2013-03-15 16:13:58 -0400
commit716cc8cc7f0b935db1b7262cf73b00c9e0ea76ee (patch)
treeb9ddba60a4f8ee455a7a70b388fbbf70b41670d7 /arch/x86
parente103b7ae903dffc8e35cd676c1a72712dec14382 (diff)
downloadtalos-obmc-uboot-716cc8cc7f0b935db1b7262cf73b00c9e0ea76ee.tar.gz
talos-obmc-uboot-716cc8cc7f0b935db1b7262cf73b00c9e0ea76ee.zip
Change stub example to use asm-generic/sections.h
We can use the declarations of __bss_start and _end from this header instead of declaring them locally. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/include/asm/u-boot-x86.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/include/asm/u-boot-x86.h b/arch/x86/include/asm/u-boot-x86.h
index 948615d438..3e380fe81d 100644
--- a/arch/x86/include/asm/u-boot-x86.h
+++ b/arch/x86/include/asm/u-boot-x86.h
@@ -25,13 +25,13 @@
#define _U_BOOT_I386_H_ 1
/* Exports from the Linker Script */
-extern ulong __text_start;
+extern char __text_start[];
extern ulong __data_end;
extern ulong __rel_dyn_start;
extern ulong __rel_dyn_end;
-extern ulong __bss_start;
+extern char __bss_start[];
extern ulong __bss_end;
-extern ulong _end;
+extern char _end[];
/* cpu/.../cpu.c */
int x86_cpu_init_r(void);
OpenPOWER on IntegriCloud