Explorar el Código

mx6sabresd: use common detect_hdmi

Signed-off-by: Eric Bénard <eric@eukrea.com>
Eric Benard hace 11 años
padre
commit
d84187ac75
Se han modificado 1 ficheros con 0 adiciones y 8 borrados
  1. 0 8
      board/freescale/mx6sabresd/mx6sabresd.c

+ 0 - 8
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;