From: Dario Binacchi Date: Sun, 20 Aug 2023 16:24:44 +0000 (+0200) Subject: configs: stm32f746-disco: limit resolution to 480x272 X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=20af6b897b12628ffcff0445d4d62ba653dcfcc5;p=u-boot.git configs: stm32f746-disco: limit resolution to 480x272 The patch fixes the y-resolution, which was causing the creation of a framebuffer larger than actually needed, resulting in memory waste. Fixes: cc1b0e7b8e55b ("board: Add display to STM32F746 SoC discovery board") Signed-off-by: Dario Binacchi Reviewed-by: Patrick Delaunay Reviewed-by: Patrice Chotard --- diff --git a/configs/stm32f746-disco_defconfig b/configs/stm32f746-disco_defconfig index 1fb30d8ad6..057cb7e896 100644 --- a/configs/stm32f746-disco_defconfig +++ b/configs/stm32f746-disco_defconfig @@ -59,7 +59,7 @@ CONFIG_VIDEO=y CONFIG_BACKLIGHT_GPIO=y CONFIG_VIDEO_STM32=y CONFIG_VIDEO_STM32_MAX_XRES=480 -CONFIG_VIDEO_STM32_MAX_YRES=640 +CONFIG_VIDEO_STM32_MAX_YRES=272 CONFIG_SPLASH_SCREEN=y CONFIG_SPLASH_SCREEN_ALIGN=y CONFIG_VIDEO_BMP_RLE8=y diff --git a/configs/stm32f746-disco_spl_defconfig b/configs/stm32f746-disco_spl_defconfig index 25ea254507..0534d62d00 100644 --- a/configs/stm32f746-disco_spl_defconfig +++ b/configs/stm32f746-disco_spl_defconfig @@ -85,7 +85,7 @@ CONFIG_VIDEO=y CONFIG_BACKLIGHT_GPIO=y CONFIG_VIDEO_STM32=y CONFIG_VIDEO_STM32_MAX_XRES=480 -CONFIG_VIDEO_STM32_MAX_YRES=640 +CONFIG_VIDEO_STM32_MAX_YRES=272 CONFIG_SPLASH_SCREEN=y CONFIG_SPLASH_SCREEN_ALIGN=y CONFIG_VIDEO_BMP_RLE8=y