This code cannot be compiled by boards which don't have this option. Add an accessor in the header file to avoid another #ifdef
Signed-off-by: Simon Glass <[email protected]> Reviewed-by: Quentin Schulz <[email protected]> --- (no changes since v1) boot/bootm.c | 8 ++++---- include/bootm.h | 8 ++++++++ 2 files changed, 12 insertions(+), 4 deletions(-) Applied to sjg/master, thanks!

