projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
645b7ec
)
board_init: remove meaningless increment in board_init_f_init_reserve()
author
Masahiro Yamada
<masahiroy@kernel.org>
Wed, 8 Jan 2020 11:21:17 +0000
(20:21 +0900)
committer
Tom Rini
<trini@konsulko.com>
Thu, 23 Jan 2020 12:29:58 +0000
(07:29 -0500)
The base is not used in the code that follows this increment.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
common/init/board_init.c
patch
|
blob
|
history
diff --git
a/common/init/board_init.c
b/common/init/board_init.c
index 3bc7994586cf561b7353c835ec395b63e2b876a0..f7c8a173ffb9381acdb1ddb73a61f79d879d448e 100644
(file)
--- a/
common/init/board_init.c
+++ b/
common/init/board_init.c
@@
-157,8
+157,6
@@
void board_init_f_init_reserve(ulong base)
#if CONFIG_VAL(SYS_MALLOC_F_LEN)
/* go down one 'early malloc arena' */
gd->malloc_base = base;
- /* next alloc will be higher by one 'early malloc arena' size */
- base += CONFIG_VAL(SYS_MALLOC_F_LEN);
#endif
if (CONFIG_IS_ENABLED(SYS_REPORT_STACK_F_USAGE))