diff options
author | Tom Rini <trini@konsulko.com> | 2017-03-20 18:19:27 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-03-21 11:14:17 (GMT) |
commit | cf334edfbb78ddabbc22ac78b842eb2d8c10ff16 (patch) | |
tree | 99ab05a63b3d61d6e2e6ba1254e33729a2681ef0 /arch/arm | |
parent | 274bced86db206dd9d3f22e932fd7a58907ff9d2 (diff) | |
download | u-boot-fsl-qoriq-cf334edfbb78ddabbc22ac78b842eb2d8c10ff16.tar.xz |
spl: Correct call to spl_common_init() with SPL_STACK_R_MALLOC_SIMPLE_LEN
Calls to IS_ENABLED() on a non-y/n option will always be false, even
when set. We can correct this by adding a new bool value that is set
based on the conditions required for SPL_STACK_R_MALLOC_SIMPLE_LEN to be
set instead.
Fixes: 340f418acd11 ("spl: Add spl_early_init()")
Reported-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
---
Changes in v2:
- Fix thinko pointed out by Lokesh
Diffstat (limited to 'arch/arm')
0 files changed, 0 insertions, 0 deletions