mirror of
https://xff.cz/git/u-boot/
synced 2025-10-09 12:06:41 +02:00
treewide: unify the linker symbol reference format
Now all linker symbols are declared as type char[]. Though we can reference the address via both the array name 'var' and its address '&var'. It's better to unify them to avoid confusing developers. This patch converts all '&var' linker symbol refrences to the most commonly used format 'var'. Signed-off-by: Shiji Yang <yangshiji66@outlook.com> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -1230,12 +1230,12 @@ static void *fdt_find_separate(void)
|
||||
#ifdef CONFIG_SPL_BUILD
|
||||
/* FDT is at end of BSS unless it is in a different memory region */
|
||||
if (IS_ENABLED(CONFIG_SPL_SEPARATE_BSS))
|
||||
fdt_blob = (ulong *)&_image_binary_end;
|
||||
fdt_blob = (ulong *)_image_binary_end;
|
||||
else
|
||||
fdt_blob = (ulong *)&__bss_end;
|
||||
fdt_blob = (ulong *)__bss_end;
|
||||
#else
|
||||
/* FDT is at end of image */
|
||||
fdt_blob = (ulong *)&_end;
|
||||
fdt_blob = (ulong *)_end;
|
||||
|
||||
if (_DEBUG && !fdtdec_prepare_fdt(fdt_blob)) {
|
||||
int stack_ptr;
|
||||
|
Reference in New Issue
Block a user