U-Boot: move gUImage and gFDT back to BSS section

No need for this trick anymore.
This commit is contained in:
François Revol 2014-11-01 16:33:09 +01:00
parent 909a14bb55
commit 5de5d59d78
3 changed files with 3 additions and 14 deletions

View File

@ -75,16 +75,10 @@ SYMBOL_END(_start_common)
SYMBOL(gUBootGlobalData):
.long 0
SYMBOL_END(gUBootGlobalData)
SYMBOL(gUImage):
.long 0
SYMBOL_END(gUImage)
SYMBOL(gUBootOS):
//XXX: bug? Using .byte makes the next asm symbol
// to be at the same address
// .byte 0
.long 0
SYMBOL_END(gUBootOS)
SYMBOL(gFDT):
.long 0
SYMBOL_END(gFDT)

View File

@ -50,16 +50,10 @@ SYMBOL_END(_start_common)
SYMBOL(gUBootGlobalData):
.long 0
SYMBOL_END(gUBootGlobalData)
SYMBOL(gUImage):
.long 0
SYMBOL_END(gUImage)
SYMBOL(gUBootOS):
//XXX: bug? Using .byte makes the next asm symbol
// to be at the same address
// .byte 0
.long 0
SYMBOL_END(gUBootOS)
SYMBOL(gFDT):
.long 0
SYMBOL_END(gFDT)

View File

@ -63,10 +63,11 @@ extern "C" void dump_fdt(const void *fdt);
// declared in shell.S
// those are initialized to NULL but not in the BSS
extern struct image_header *gUImage;
extern uboot_gd *gUBootGlobalData;
extern uint32 gUBootOS;
extern void *gFDT;
struct image_header *gUImage;
void *gFDT;
static uint32 sBootOptions;