diff options
| author | Simon Glass <sjg@chromium.org> | 2013-03-05 14:39:39 +0000 | 
|---|---|---|
| committer | Tom Rini <trini@ti.com> | 2013-03-15 16:13:58 -0400 | 
| commit | 716cc8cc7f0b935db1b7262cf73b00c9e0ea76ee (patch) | |
| tree | b9ddba60a4f8ee455a7a70b388fbbf70b41670d7 /arch/x86/include/asm/u-boot-x86.h | |
| parent | e103b7ae903dffc8e35cd676c1a72712dec14382 (diff) | |
| download | olio-uboot-2014.01-716cc8cc7f0b935db1b7262cf73b00c9e0ea76ee.tar.xz olio-uboot-2014.01-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/include/asm/u-boot-x86.h')
| -rw-r--r-- | arch/x86/include/asm/u-boot-x86.h | 6 | 
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 948615d43..3e380fe81 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); |