global_data: Enable spl_handoff only if CONFIG_HANDOFF is set
authorOvidiu Panait <ovidiu.panait@windriver.com>
Sat, 28 Nov 2020 08:43:20 +0000 (10:43 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 15 Jan 2021 19:36:12 +0000 (14:36 -0500)
commit13e0f020f7710418c4f8ed231660f91cdd979254
tree305b4fb84bf1209c1acd827b8b56a99e7a659034
parent2a7c9ab47970868ac29b197cfbbbd93440b8fa20
global_data: Enable spl_handoff only if CONFIG_HANDOFF is set

spl_handoff should only be enabled when CONFIG_HANDOFF is set. Drop the
nested ifdefs and check for CONFIG_HANDOFF instead.

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
include/asm-generic/global_data.h