Skip to content
Commit 0c4bd318 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

autoboot: Use CONFIG_AUTOBOOT_STOP_STR_SHA256 indirectly



This CONFIG option is only present if CONFIG_AUTOBOOT_ENCRYPTION is
enabled so it cannot be used in code without that #ifdef. But we want to
reduce the use of #ifdef in this file and in particular to avoid having
two different functions both named passwd_abort() but which do different
things.

In preparation for this, create an intermediate value which is set to an
empty string if there is no value for CONFIG_AUTOBOOT_STOP_STR_SHA256.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 37304aaf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment