diff options
author | Tom Rini <trini@konsulko.com> | 2022-09-01 15:34:46 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-09-01 15:34:46 -0400 |
commit | 35d2d38e08a47890c500b8c7af49e09d7a5a6523 (patch) | |
tree | 6253bdb54654633d6c38cbe429f028a2211a74c8 | |
parent | 21f2b0984617e83f3813274a47eb755169d642b7 (diff) | |
download | u-boot-fail-test.zip u-boot-fail-test.tar.gz u-boot-fail-test.tar.bz2 |
logic fix?fail-test
Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r-- | common/init/board_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/init/board_init.c b/common/init/board_init.c index 35506f2..8d230c7 100644 --- a/common/init/board_init.c +++ b/common/init/board_init.c @@ -78,7 +78,7 @@ __weak void board_init_f_init_stack_protection(void) ulong board_init_f_alloc_reserve(ulong top) { /* Reserve early malloc arena */ -#if CONFIG_VAL(MALLOC_F_ADDR) && CONFIG_VAL(SYS_MALLOC_F_LEN) +#if !CONFIG_VAL(MALLOC_F_ADDR) && CONFIG_VAL(SYS_MALLOC_F_LEN) top -= CONFIG_VAL(SYS_MALLOC_F_LEN); #endif /* LAST : reserve GD (rounded up to a multiple of 16 bytes) */ |