summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2016-01-25 17:17:22 +0100
committerAnatolij Gustschin <agust@denx.de>2016-01-26 08:06:13 +0100
commit7588c312528eea9e24ef5c1b9a29a256ac5024d4 (patch)
treef1b2c0ef0119837730556447e1608d6477add1a2 /drivers/video
parente32951b525c5cd67aece0dffb7d4012b1567dcaf (diff)
downloadu-boot-imx-7588c312528eea9e24ef5c1b9a29a256ac5024d4.zip
u-boot-imx-7588c312528eea9e24ef5c1b9a29a256ac5024d4.tar.gz
u-boot-imx-7588c312528eea9e24ef5c1b9a29a256ac5024d4.tar.bz2
video: add CONFIG_I2C_EDID and disable CONFIG_DISPLAY by default
Enabling CONFIG_DISPLAY breaks building for some architectures (microblaze-generic), so we disable CONFIG_DISPLAY in Kconfig by default and enable this option in defconfigs. CONFIG_DISPLAY depends on CONFIG_I2C_EDID, so add and enable it in defconfigs, too. Signed-off-by: Anatolij Gustschin <agust@denx.de> Reported-by: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/Kconfig10
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index 4e706b7..f54631c 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -300,10 +300,18 @@ config VIDEO_MVEBU
Support for the LCD controller integrated in the Marvell
Armada XP SoC.
+config I2C_EDID
+ bool "Enable EDID library"
+ depends on DM_I2C
+ default n
+ help
+ This enables library for accessing EDID data from an LCD panel.
+
config DISPLAY
bool "Enable Display support"
depends on DM
- default y
+ default n
+ select I2C_EDID
help
This supports drivers that provide a display, such as eDP (Embedded
DisplayPort) and HDMI (High Definition Multimedia Interface).