summaryrefslogtreecommitdiff
path: root/configs/stm32mp15_basic_defconfig
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-06-14 05:57:35 +0300
committerTom Rini <trini@konsulko.com>2022-06-29 00:11:49 +0300
commitbf904ea41883d7dacd77a1c257d10cc89a0ec394 (patch)
treec937104208e22871d7005ac1acd2558e381e4fe4 /configs/stm32mp15_basic_defconfig
parentd8564e919d06480c84f5e3c9a35e2b8a43092524 (diff)
downloadu-boot-bf904ea41883d7dacd77a1c257d10cc89a0ec394.tar.xz
Rename CONFIG_SYS_AUTOLAOD to CONFIG_SYS_DISABLE_AUTOLOAD
The "autoload" environment variable is always checked with env_get_yesno as it can be set to any form of no. The default behavior of env_get_yesno is to return -1 on variables that are not set, which acts as true in general (we test for non-zero return). To convert CONFIG_SYS_AUTOLOAD to Kconfig, given that it was almost always used to set autoload to no, first rename to CONFIG_SYS_DISABLE_AUTOLOAD for consistency sake. Then, make it so that if enabled we set autoload=0 in the default environment. Migrate all platforms which set CONFIG_SYS_AUTOLOAD to non-true or that set autoload to false in their default environment to using CONFIG_SYS_DISABLE_AUTOLOAD Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'configs/stm32mp15_basic_defconfig')
-rw-r--r--configs/stm32mp15_basic_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/stm32mp15_basic_defconfig b/configs/stm32mp15_basic_defconfig
index 8ae668ca23..a17dbed659 100644
--- a/configs/stm32mp15_basic_defconfig
+++ b/configs/stm32mp15_basic_defconfig
@@ -64,6 +64,7 @@ CONFIG_CMD_REMOTEPROC=y
CONFIG_CMD_SPI=y
CONFIG_CMD_USB=y
CONFIG_CMD_USB_MASS_STORAGE=y
+CONFIG_SYS_DISABLE_AUTOLOAD=y
CONFIG_CMD_BMP=y
CONFIG_CMD_CACHE=y
CONFIG_CMD_EFIDEBUG=y