]> git.dujemihanovic.xyz Git - u-boot.git/commit
Rename CONFIG_SYS_AUTOLAOD to CONFIG_SYS_DISABLE_AUTOLOAD
authorTom Rini <trini@konsulko.com>
Tue, 14 Jun 2022 02:57:35 +0000 (22:57 -0400)
committerTom Rini <trini@konsulko.com>
Tue, 28 Jun 2022 21:11:49 +0000 (17:11 -0400)
commitbf904ea41883d7dacd77a1c257d10cc89a0ec394
treec937104208e22871d7005ac1acd2558e381e4fe4
parentd8564e919d06480c84f5e3c9a35e2b8a43092524
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>
68 files changed:
cmd/Kconfig
configs/am335x_guardian_defconfig
configs/bitmain_antminer_s9_defconfig
configs/bk4r1_defconfig
configs/brppt1_mmc_defconfig
configs/brppt1_nand_defconfig
configs/brppt1_spi_defconfig
configs/brppt2_defconfig
configs/brsmarc1_defconfig
configs/brxre1_defconfig
configs/cl-som-imx7_defconfig
configs/cm_fx6_defconfig
configs/cm_t335_defconfig
configs/cm_t43_defconfig
configs/d2net_v2_defconfig
configs/devkit3250_defconfig
configs/dns325_defconfig
configs/ethernut5_defconfig
configs/inetspace_v2_defconfig
configs/nas220_defconfig
configs/net2big_v2_defconfig
configs/netspace_lite_v2_defconfig
configs/netspace_max_v2_defconfig
configs/netspace_mini_v2_defconfig
configs/netspace_v2_defconfig
configs/octeontx2_95xx_defconfig
configs/octeontx2_96xx_defconfig
configs/omap35_logic_defconfig
configs/omap35_logic_somlv_defconfig
configs/omap3_logic_defconfig
configs/omap3_logic_somlv_defconfig
configs/opos6uldev_defconfig
configs/pcm052_defconfig
configs/stm32mp15-icore-stm32mp1-ctouch2_defconfig
configs/stm32mp15-icore-stm32mp1-edimm2.2_defconfig
configs/stm32mp15-microgea-stm32mp1-microdev2-of7_defconfig
configs/stm32mp15-microgea-stm32mp1-microdev2_defconfig
configs/stm32mp15_basic_defconfig
configs/stm32mp15_defconfig
configs/stm32mp15_dhcom_basic_defconfig
configs/stm32mp15_dhcor_basic_defconfig
configs/stm32mp15_trusted_defconfig
include/configs/am335x_guardian.h
include/configs/bitmain_antminer_s9.h
include/configs/bk4r1.h
include/configs/brppt1.h
include/configs/brppt2.h
include/configs/brsmarc1.h
include/configs/brxre1.h
include/configs/cl-som-imx7.h
include/configs/cm_fx6.h
include/configs/cm_t335.h
include/configs/cm_t43.h
include/configs/devkit3250.h
include/configs/dns325.h
include/configs/ethernut5.h
include/configs/imx7-cm.h
include/configs/lacie_kw.h
include/configs/nas220.h
include/configs/octeontx2_common.h
include/configs/octeontx_common.h
include/configs/omap3_logic.h
include/configs/opos6uldev.h
include/configs/pcm052.h
include/configs/siemens-am33x-common.h
include/configs/smartweb.h
include/configs/stm32mp15_common.h
include/env_default.h