mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
board_init: remove meaningless increment in board_init_f_init_reserve()
The base is not used in the code that follows this increment. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
This commit is contained in:
committed by
Tom Rini
parent
645b7ec52c
commit
9086ab564b
@@ -157,8 +157,6 @@ void board_init_f_init_reserve(ulong base)
|
|||||||
#if CONFIG_VAL(SYS_MALLOC_F_LEN)
|
#if CONFIG_VAL(SYS_MALLOC_F_LEN)
|
||||||
/* go down one 'early malloc arena' */
|
/* go down one 'early malloc arena' */
|
||||||
gd->malloc_base = base;
|
gd->malloc_base = base;
|
||||||
/* next alloc will be higher by one 'early malloc arena' size */
|
|
||||||
base += CONFIG_VAL(SYS_MALLOC_F_LEN);
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (CONFIG_IS_ENABLED(SYS_REPORT_STACK_F_USAGE))
|
if (CONFIG_IS_ENABLED(SYS_REPORT_STACK_F_USAGE))
|
||||||
|
Reference in New Issue
Block a user