autoboot: Rework CONFIG_AUTOBOOT_STOP_STR_* usage
authorTom Rini <trini@konsulko.com>
Tue, 10 Jan 2023 16:19:34 +0000 (11:19 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 20 Jan 2023 17:27:06 +0000 (12:27 -0500)
commitd35e44fbe79f42b42cfef654aa9751bf409eca78
tree24c46f494246f4314a36a79f3326a4a7013b5ca8
parent1c88640fc8cb4e6465d6ab30b5fa89700e76e6ec
autoboot: Rework CONFIG_AUTOBOOT_STOP_STR_* usage

In order to not define a CONFIG value when the
CONFIG_AUTOBOOT_STOP_STR_* functionality is not enabled, rework the
assignment of empty and unused (as the code will be discarded under if
0, in the end) values to be AUTOBOOT_STOP_STR_* instead of
CONFIG_AUTOBOOT_STOP_STR_*.

Signed-off-by: Tom Rini <trini@konsulko.com>
common/autoboot.c