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>
This commit is contained in:
Simon Glass
2022-10-18 06:49:18 -06:00
committed by Anatolij Gustschin
parent e655003384
commit 2fd5a57af6
20 changed files with 17 additions and 33 deletions

View File

@@ -78,11 +78,6 @@
#define CONFIG_MXC_USB_FLAGS 0
#endif
/*
* LCD
*/
#define CONFIG_VIDEO_LOGO_MAX_SIZE (2 << 20)
/* LVDS display */
#define CONFIG_SYS_LDB_CLOCK 33260000
#define CONFIG_IMX_VIDEO_SKIP

View File

@@ -15,17 +15,6 @@
#define PHYS_SDRAM_1_SIZE 0x08000000 /* Max 128 MB RAM */
#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1
/* Environment */
/* Environment is in MMC */
/* USB */
/* Framebuffer support */
#ifdef CONFIG_DM_VIDEO
#define CONFIG_VIDEO_LOGO_MAX_SIZE (512 << 10)
#endif
/* Extra Environments */
#define CONFIG_EXTRA_ENV_SETTINGS \
"update_sd_firmware_filename=u-boot.sd\0" \

View File

@@ -22,13 +22,6 @@
#define CONFIG_RTC_MXS
#endif
/* USB */
/* Framebuffer support */
#ifdef CONFIG_DM_VIDEO
#define CONFIG_VIDEO_LOGO_MAX_SIZE (512 << 10)
#endif
/* Extra Environment */
#define CONFIG_EXTRA_ENV_SETTINGS \
"ubifs_file=filesystem.ubifs\0" \

View File

@@ -27,7 +27,6 @@
#define CONFIG_MXC_USB_FLAGS 0
/* Framebuffer and LCD */
#define CONFIG_VIDEO_LOGO_MAX_SIZE (6 * 1024 * 1024)
#define CONFIG_IMX_HDMI
#define CONFIG_IMX_VIDEO_SKIP

View File

@@ -121,6 +121,5 @@ int universal_spi_read(void);
* LCD Settings
*/
#define CONFIG_LD9040
#define CONFIG_VIDEO_LOGO_MAX_SIZE ((500 * 160 * 4) + 54)
#endif /* __CONFIG_H */

View File

@@ -147,7 +147,4 @@
/* LCD console */
#define LCD_BPP LCD_COLOR16
/* LCD */
#define CONFIG_VIDEO_LOGO_MAX_SIZE ((500 * 160 * 4) + 54)
#endif /* __CONFIG_H */

View File

@@ -137,7 +137,4 @@
/* LCD console */
#define LCD_BPP LCD_COLOR16
/* LCD */
#define CONFIG_VIDEO_LOGO_MAX_SIZE ((500 * 160 * 4) + 54)
#endif /* __CONFIG_H */