1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-03 09:42:22 +02:00

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>
This commit is contained in:
Simon Glass
2013-03-05 14:39:39 +00:00
committed by Tom Rini
parent e103b7ae90
commit 716cc8cc7f
4 changed files with 12 additions and 13 deletions

View File

@@ -7,7 +7,7 @@
static inline unsigned long bss_start(void)
{
extern ulong __bss_start;
extern char __bss_start[];
return (unsigned long) &__bss_start;
}
@@ -19,7 +19,7 @@ static inline unsigned long bss_end(void)
static inline unsigned long image_copy_end(void)
{
extern ulong __image_copy_end;
extern char __image_copy_end[];
return (unsigned long) &__image_copy_end;
}