summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYe.Li <B37916@freescale.com>2014-06-06 16:54:10 +0800
committerYe.Li <B37916@freescale.com>2014-06-17 11:13:47 +0800
commit79f1789107588e9883f27efd7f79290dd34ec3b6 (patch)
tree1a111527d90c8a0a25bd501a9b7b4d70e6bddc10
parent4b203b9895c0b39bf7a93c5fde59137952474126 (diff)
downloadu-boot-imx-79f1789107588e9883f27efd7f79290dd34ec3b6.zip
u-boot-imx-79f1789107588e9883f27efd7f79290dd34ec3b6.tar.gz
u-boot-imx-79f1789107588e9883f27efd7f79290dd34ec3b6.tar.bz2
ENGR00315894-36 MX6 SabreSD: Disable HDMI detect
As the HDMI splash screen feature is not well supported, we should not set it to be the default display. In case, users leave the 'panel' uboot environment variable empty and connect the board with a HDMI monitor, the HDMI detect funtion will work and enable the HDMI splash screen. So, this patch disables HDMI detect function so that users may only explicitly set the 'panel' variable to be 'HDMI' to use HDMI splash screen. Signed-off-by: Liu Ying <Ying.Liu@freescale.com> Signed-off-by: Ye.Li <B37916@freescale.com>
-rw-r--r--board/freescale/mx6sabresd/mx6sabresd.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/board/freescale/mx6sabresd/mx6sabresd.c b/board/freescale/mx6sabresd/mx6sabresd.c
index b085963..ca468cd 100644
--- a/board/freescale/mx6sabresd/mx6sabresd.c
+++ b/board/freescale/mx6sabresd/mx6sabresd.c
@@ -823,13 +823,6 @@ struct display_info_t {
struct fb_videomode mode;
};
-static int detect_hdmi(struct display_info_t const *dev)
-{
- struct hdmi_regs *hdmi = (struct hdmi_regs *)HDMI_ARB_BASE_ADDR;
- return readb(&hdmi->phy_stat0) & HDMI_DVI_STAT;
-}
-
-
static void disable_lvds(struct display_info_t const *dev)
{
struct iomuxc *iomux = (struct iomuxc *)IOMUXC_BASE_ADDR;
@@ -882,7 +875,7 @@ static struct display_info_t const displays[] = {{
.bus = -1,
.addr = 0,
.pixfmt = IPU_PIX_FMT_RGB24,
- .detect = detect_hdmi,
+ .detect = NULL,
.enable = do_enable_hdmi,
.mode = {
.name = "HDMI",