aboutsummaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorSimon Glass2022-10-18 06:49:18 -0600
committerAnatolij Gustschin2022-10-30 20:07:16 +0100
commit2fd5a57af6cdb256c24d561bd7c6a0d10ccb542e (patch)
treef929ad9f2b0caa4ba370fca5cf23895d28e11f50 /drivers/video
parente65500338427b64e83a59432242a1ef295dd95f0 (diff)
Convert CONFIG_VIDEO_LOGO_MAX_SIZE to Kconfig
This converts the following to Kconfig: CONFIG_VIDEO_LOGO_MAX_SIZE Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/Kconfig7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index d160271abeb..3a692b8a3c5 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -926,7 +926,12 @@ config VIDEO_BMP_GZIP
splashscreen support or the bmp command.
config VIDEO_LOGO_MAX_SIZE
- bool "Maximum size of the bitmap logo in bytes"
+ hex "Maximum size of the bitmap logo in bytes"
+ default 0x100000
+ help
+ Sets the maximum uncompressed size of the logo. This is needed when
+ decompressing a BMP file using the gzip algorithm, since it cannot
+ read the size from the bitmap header.
config VIDEO_BMP_RLE8
bool "Run length encoded BMP image (RLE8) support"