]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mx6sabresd: use common detect_hdmi
authorEric Benard <eric@eukrea.com>
Fri, 4 Apr 2014 17:05:58 +0000 (19:05 +0200)
committerStefano Babic <sbabic@denx.de>
Tue, 15 Apr 2014 10:23:57 +0000 (12:23 +0200)
Signed-off-by: Eric BĂ©nard <eric@eukrea.com>
board/freescale/mx6sabresd/mx6sabresd.c

index 1340f29d76272dbc8fb5bc4b5f129d7f5c658d51..3e314daec2f431d7cb2900a508b7264713e3dd23 100644 (file)
@@ -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;