mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-26 07:17:10 +00:00
common: binman: Calling initr_binman() when BINMAN_FDT
Calling empty function when BINMAN_FDT is adding +64B for nothing which is not helping on size sensitive configurations as Xilinx mini configurations. Signed-off-by: Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/f79dc1fbf796dd5ad290f6080608ee68d7652cfc.1730452668.git.michal.simek@amd.com
This commit is contained in:
parent
d92fdb6067
commit
417409e573
1 changed files with 3 additions and 4 deletions
|
@ -287,13 +287,10 @@ static int initr_announce(void)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int initr_binman(void)
|
static int __maybe_unused initr_binman(void)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
if (!CONFIG_IS_ENABLED(BINMAN_FDT))
|
|
||||||
return 0;
|
|
||||||
|
|
||||||
ret = binman_init();
|
ret = binman_init();
|
||||||
if (ret)
|
if (ret)
|
||||||
printf("binman_init failed:%d\n", ret);
|
printf("binman_init failed:%d\n", ret);
|
||||||
|
@ -635,7 +632,9 @@ static init_fnc_t init_sequence_r[] = {
|
||||||
#ifdef CONFIG_EFI_LOADER
|
#ifdef CONFIG_EFI_LOADER
|
||||||
efi_memory_init,
|
efi_memory_init,
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef CONFIG_BINMAN_FDT
|
||||||
initr_binman,
|
initr_binman,
|
||||||
|
#endif
|
||||||
#ifdef CONFIG_FSP_VERSION2
|
#ifdef CONFIG_FSP_VERSION2
|
||||||
arch_fsp_init_r,
|
arch_fsp_init_r,
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue