mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 13:43:28 +00:00
video: Migrate exynos display options to Kconfig
Following how it's done for the majority of drivers, add a new VIDEO_EXYNOS option and Kconfig file under drivers/video/exynos and list the current options there. Cc: Anatolij Gustschin <agust@denx.de> Cc: Jaehoon Chung <jh80.chung@samsung.com> Cc: Minkyu Kang <mk7.kang@samsung.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Minkyu Kang <mk7.kang@samsung.com>
This commit is contained in:
parent
24ec3dea4b
commit
4d2cab33d4
12 changed files with 34 additions and 22 deletions
|
@ -84,6 +84,9 @@ CONFIG_DM_VIDEO=y
|
|||
# CONFIG_VIDEO_BPP8 is not set
|
||||
CONFIG_VIDCONSOLE_AS_LCD=y
|
||||
CONFIG_DISPLAY=y
|
||||
CONFIG_VIDEO_EXYNOS=y
|
||||
CONFIG_EXYNOS_DP=y
|
||||
CONFIG_EXYNOS_FB=y
|
||||
CONFIG_VIDEO_BRIDGE=y
|
||||
CONFIG_VIDEO_BRIDGE_PARADE_PS862X=y
|
||||
CONFIG_LCD=y
|
||||
|
|
|
@ -83,6 +83,9 @@ CONFIG_DM_VIDEO=y
|
|||
# CONFIG_VIDEO_BPP8 is not set
|
||||
CONFIG_VIDCONSOLE_AS_LCD=y
|
||||
CONFIG_DISPLAY=y
|
||||
CONFIG_VIDEO_EXYNOS=y
|
||||
CONFIG_EXYNOS_DP=y
|
||||
CONFIG_EXYNOS_FB=y
|
||||
CONFIG_VIDEO_BRIDGE=y
|
||||
CONFIG_VIDEO_BRIDGE_PARADE_PS862X=y
|
||||
CONFIG_LCD=y
|
||||
|
|
|
@ -94,6 +94,9 @@ CONFIG_DM_VIDEO=y
|
|||
# CONFIG_VIDEO_BPP8 is not set
|
||||
CONFIG_VIDCONSOLE_AS_LCD=y
|
||||
CONFIG_DISPLAY=y
|
||||
CONFIG_VIDEO_EXYNOS=y
|
||||
CONFIG_EXYNOS_DP=y
|
||||
CONFIG_EXYNOS_FB=y
|
||||
CONFIG_VIDEO_BRIDGE=y
|
||||
CONFIG_VIDEO_BRIDGE_PARADE_PS862X=y
|
||||
CONFIG_VIDEO_BRIDGE_NXP_PTN3460=y
|
||||
|
|
|
@ -95,6 +95,9 @@ CONFIG_DM_VIDEO=y
|
|||
# CONFIG_VIDEO_BPP8 is not set
|
||||
CONFIG_VIDCONSOLE_AS_LCD=y
|
||||
CONFIG_DISPLAY=y
|
||||
CONFIG_VIDEO_EXYNOS=y
|
||||
CONFIG_EXYNOS_DP=y
|
||||
CONFIG_EXYNOS_FB=y
|
||||
CONFIG_VIDEO_BRIDGE=y
|
||||
CONFIG_VIDEO_BRIDGE_PARADE_PS862X=y
|
||||
CONFIG_LCD=y
|
||||
|
|
|
@ -583,6 +583,8 @@ config ATMEL_HLCD
|
|||
|
||||
source "drivers/video/ti/Kconfig"
|
||||
|
||||
source "drivers/video/exynos/Kconfig"
|
||||
|
||||
config LOGICORE_DP_TX
|
||||
bool "Enable Logicore DP TX driver"
|
||||
depends on DISPLAY
|
||||
|
|
20
drivers/video/exynos/Kconfig
Normal file
20
drivers/video/exynos/Kconfig
Normal file
|
@ -0,0 +1,20 @@
|
|||
|
||||
menuconfig VIDEO_EXYNOS
|
||||
bool "Enable Exynos video support"
|
||||
depends on DM_VIDEO
|
||||
help
|
||||
Enable support for various video output options on Exynos SoCs.
|
||||
|
||||
if VIDEO_EXYNOS
|
||||
|
||||
config EXYNOS_DP
|
||||
bool "Exynos Display Port support"
|
||||
|
||||
config EXYNOS_FB
|
||||
bool "Exynos FIMD support"
|
||||
|
||||
config EXYNOS_MIPI_DSIM
|
||||
bool "Exynos MIPI DSI support"
|
||||
depends on EXYNOS_FB
|
||||
|
||||
endif
|
|
@ -19,11 +19,4 @@
|
|||
#define FLASH_SIZE (4 << 20)
|
||||
#define CONFIG_SPI_BOOTING
|
||||
|
||||
/* Display */
|
||||
#ifdef CONFIG_LCD
|
||||
#define CONFIG_EXYNOS_FB
|
||||
#define CONFIG_EXYNOS_DP
|
||||
#define LCD_BPP LCD_COLOR16
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -22,13 +22,6 @@
|
|||
|
||||
#define CONFIG_SYS_SDRAM_BASE 0x20000000
|
||||
|
||||
/* Display */
|
||||
#ifdef CONFIG_LCD
|
||||
#define CONFIG_EXYNOS_FB
|
||||
#define CONFIG_EXYNOS_DP
|
||||
#define LCD_BPP LCD_COLOR16
|
||||
#endif
|
||||
|
||||
#define CONFIG_POWER_TPS65090_EC
|
||||
|
||||
/* DRAM Memory Banks */
|
||||
|
|
|
@ -12,7 +12,4 @@
|
|||
#include <configs/exynos5-dt-common.h>
|
||||
#include <configs/exynos5-common.h>
|
||||
|
||||
#undef CONFIG_EXYNOS_FB
|
||||
#undef CONFIG_EXYNOS_DP
|
||||
|
||||
#endif /* __CONFIG_SMDK_H */
|
||||
|
|
|
@ -12,9 +12,6 @@
|
|||
#include <configs/exynos5-dt-common.h>
|
||||
#include <configs/exynos5-common.h>
|
||||
|
||||
#undef CONFIG_EXYNOS_FB
|
||||
#undef CONFIG_EXYNOS_DP
|
||||
|
||||
#define CONFIG_SMDK5420 /* which is in a SMDK5420 */
|
||||
|
||||
#define CONFIG_SYS_SDRAM_BASE 0x20000000
|
||||
|
|
|
@ -150,7 +150,6 @@
|
|||
|
||||
/* LCD */
|
||||
#define CONFIG_FB_ADDR 0x52504000
|
||||
#define CONFIG_EXYNOS_MIPI_DSIM
|
||||
#define CONFIG_SYS_VIDEO_LOGO_MAX_SIZE ((500 * 160 * 4) + 54)
|
||||
|
||||
#endif /* __CONFIG_H */
|
||||
|
|
|
@ -140,7 +140,6 @@
|
|||
|
||||
/* LCD */
|
||||
#define CONFIG_FB_ADDR 0x52504000
|
||||
#define CONFIG_EXYNOS_MIPI_DSIM
|
||||
#define CONFIG_SYS_VIDEO_LOGO_MAX_SIZE ((500 * 160 * 4) + 54)
|
||||
|
||||
#endif /* __CONFIG_H */
|
||||
|
|
Loading…
Reference in a new issue