summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-10-18 16:30:25 +0300
committerAnatolij Gustschin <agust@denx.de>2022-10-30 22:07:17 +0300
commiteaf707552862ec2778a920870096d16f9fc03ab2 (patch)
tree40d76eb62fd489fa97eb3afa1e04f71e50d94a14
parentb0c5353c7c2e719da080de210fcfe27a16cdbb88 (diff)
downloadu-boot-eaf707552862ec2778a920870096d16f9fc03ab2.tar.xz
video: Drop SPLASHIMAGE_CALLBACK
This is not used anymore. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r--configs/m53menlo_defconfig1
-rw-r--r--drivers/video/Kconfig13
-rw-r--r--include/env_callback.h7
3 files changed, 0 insertions, 21 deletions
diff --git a/configs/m53menlo_defconfig b/configs/m53menlo_defconfig
index d7e864e83d..f68010b3bc 100644
--- a/configs/m53menlo_defconfig
+++ b/configs/m53menlo_defconfig
@@ -122,7 +122,6 @@ CONFIG_VIDEO_LOGO=y
CONFIG_SYS_WHITE_ON_BLACK=y
CONFIG_VIDEO_IPUV3=y
CONFIG_SPLASH_SCREEN=y
-CONFIG_SPLASHIMAGE_GUARD=y
CONFIG_SPLASH_SCREEN_ALIGN=y
CONFIG_SPLASH_SOURCE=y
CONFIG_VIDEO_BMP_GZIP=y
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index 83dba632c1..21fda77cd6 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -810,19 +810,6 @@ config SPLASH_SCREEN
if SPLASH_SCREEN
-config SPLASHIMAGE_GUARD
- bool "Support unaligned BMP images"
- help
- If this option is set, then U-Boot will prevent the environment
- variable "splashimage" from being set to a problematic address
- (see doc/README.displaying-bmps).
-
- This option is useful for targets where, due to alignment
- restrictions, an improperly aligned BMP image will cause a data
- abort. If you think you will not have problems with unaligned
- accesses (for example because your toolchain prevents them)
- there is no need to set this option.
-
config SPLASH_SCREEN_ALIGN
bool "Allow positioning the splash image anywhere on the display"
help
diff --git a/include/env_callback.h b/include/env_callback.h
index d5d2b2fcad..1eae0efca2 100644
--- a/include/env_callback.h
+++ b/include/env_callback.h
@@ -24,12 +24,6 @@
#define SILENT_CALLBACK
#endif
-#ifdef CONFIG_SPLASHIMAGE_GUARD
-#define SPLASHIMAGE_CALLBACK "splashimage:splashimage,"
-#else
-#define SPLASHIMAGE_CALLBACK
-#endif
-
#ifdef CONFIG_REGEX
#define ENV_DOT_ESCAPE "\\"
#else
@@ -74,7 +68,6 @@
BOOTSTD_CALLBACK \
"loadaddr:loadaddr," \
SILENT_CALLBACK \
- SPLASHIMAGE_CALLBACK \
"stdin:console,stdout:console,stderr:console," \
"serial#:serialno," \
CONFIG_ENV_CALLBACK_LIST_STATIC