aboutsummaryrefslogtreecommitdiff
path: root/include/configs/cl-som-imx7.h
diff options
context:
space:
mode:
authorTom Rini2022-06-13 22:57:35 -0400
committerTom Rini2022-06-28 17:11:49 -0400
commitbf904ea41883d7dacd77a1c257d10cc89a0ec394 (patch)
treec937104208e22871d7005ac1acd2558e381e4fe4 /include/configs/cl-som-imx7.h
parentd8564e919d06480c84f5e3c9a35e2b8a43092524 (diff)
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 'include/configs/cl-som-imx7.h')
-rw-r--r--include/configs/cl-som-imx7.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/configs/cl-som-imx7.h b/include/configs/cl-som-imx7.h
index 4e982189559..1043eb75060 100644
--- a/include/configs/cl-som-imx7.h
+++ b/include/configs/cl-som-imx7.h
@@ -26,13 +26,9 @@
#define CONFIG_SYS_I2C_PCA953X_ADDR 0x20
#define CONFIG_SYS_I2C_PCA953X_WIDTH { {0x20, 16} }
-#undef CONFIG_SYS_AUTOLOAD
#undef CONFIG_EXTRA_ENV_SETTINGS
-#define CONFIG_SYS_AUTOLOAD "no"
-
#define CONFIG_EXTRA_ENV_SETTINGS \
- "autoload=off\0" \
"script=boot.scr\0" \
"loadscript=load ${storagetype} ${storagedev} ${loadaddr} ${script};\0" \
"loadkernel=load ${storagetype} ${storagedev} ${loadaddr} ${kernel};\0" \