summaryrefslogtreecommitdiff
path: root/board/freescale/mx6sabresd/mx6sabresd.c
diff options
context:
space:
mode:
authorEric Benard <eric@eukrea.com>2014-04-04 19:05:58 +0200
committerStefano Babic <sbabic@denx.de>2014-04-15 12:23:57 +0200
commitd84187ac750b557f8f4eeafb5e2556811aef8b27 (patch)
treed6f1c1c85a659759247c5e1261f2a2630d8aef89 /board/freescale/mx6sabresd/mx6sabresd.c
parent1220eeb794007a7d6aec727f0b0e6ea9d814ba97 (diff)
downloadu-boot-imx-d84187ac750b557f8f4eeafb5e2556811aef8b27.zip
u-boot-imx-d84187ac750b557f8f4eeafb5e2556811aef8b27.tar.gz
u-boot-imx-d84187ac750b557f8f4eeafb5e2556811aef8b27.tar.bz2
mx6sabresd: use common detect_hdmi
Signed-off-by: Eric BĂ©nard <eric@eukrea.com>
Diffstat (limited to 'board/freescale/mx6sabresd/mx6sabresd.c')
-rw-r--r--board/freescale/mx6sabresd/mx6sabresd.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/board/freescale/mx6sabresd/mx6sabresd.c b/board/freescale/mx6sabresd/mx6sabresd.c
index 1340f29..3e314da 100644
--- a/board/freescale/mx6sabresd/mx6sabresd.c
+++ b/board/freescale/mx6sabresd/mx6sabresd.c
@@ -264,14 +264,6 @@ int board_phy_config(struct phy_device *phydev)
}
#if defined(CONFIG_VIDEO_IPUV3)
-
-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;