diff options
author | Simon Glass <sjg@chromium.org> | 2019-07-20 20:51:15 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-08-02 11:19:14 -0400 |
commit | 0c4bd318f5c149c260b236a8e5239f661484ad5d (patch) | |
tree | af048268b96832d30f65aedd9e8b5bd8b2210130 /drivers/ddr/fsl/ddr2_dimm_params.c | |
parent | 37304aaf60bf92a5dc3ef222ba520698bd862a44 (diff) |
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: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/ddr/fsl/ddr2_dimm_params.c')
0 files changed, 0 insertions, 0 deletions