summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-10-18 15:49:18 +0300
committerAnatolij Gustschin <agust@denx.de>2022-10-30 22:07:16 +0300
commit2fd5a57af6cdb256c24d561bd7c6a0d10ccb542e (patch)
treef929ad9f2b0caa4ba370fca5cf23895d28e11f50 /drivers
parente65500338427b64e83a59432242a1ef295dd95f0 (diff)
downloadu-boot-2fd5a57af6cdb256c24d561bd7c6a0d10ccb542e.tar.xz
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')
-rw-r--r--drivers/video/Kconfig7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index d160271abe..3a692b8a3c 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"