On Thu, 5 Nov 2020 at 03:11, Ovidiu Panait <[email protected]> wrote:
>
> CONFIG_HANDOFF is used in u-boot proper to locate handoff info from SPL
> during pre-relocation init (in setup_spl_handoff). Add explicit dependency
> on CONFIG_SPL, to fix the following build error when CONFIG_HANDOFF &&
> !CONFIG_SPL:
>
> common/board_f.c: In function ‘setup_spl_handoff’:
> common/board_f.c:283:4: error: ‘gd_t {aka struct global_data}’
> has no member named ‘spl_handoff’
>   gd->spl_handoff = bloblist_find(BLOBLISTT_SPL_HANDOFF,
>     ^~
>
> Signed-off-by: Ovidiu Panait <[email protected]>
> ---
>  common/spl/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Simon Glass <[email protected]>

Reply via email to