Home
last modified time | relevance | path

Searched hist:cf334edfbb78ddabbc22ac78b842eb2d8c10ff16 (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/common/spl/
H A Dspl.ccf334edfbb78ddabbc22ac78b842eb2d8c10ff16 Mon Mar 20 18:19:27 UTC 2017 Tom Rini <trini@konsulko.com> 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