diff mbox

[U-Boot,v2,7/8] mx6sabresd: use common detect_hdmi

Message ID 1396631159-12904-7-git-send-email-eric@eukrea.com
State Accepted
Delegated to: Stefano Babic
Headers show

Commit Message

Eric Benard April 4, 2014, 5:05 p.m. UTC
Signed-off-by: Eric Bénard <eric@eukrea.com>
---
v2: no change

 board/freescale/mx6sabresd/mx6sabresd.c | 8 --------
 1 file changed, 8 deletions(-)

Comments

Stefano Babic April 7, 2014, 4:39 p.m. UTC | #1
On 04/04/2014 19:05, Eric Bénard wrote:
> Signed-off-by: Eric Bénard <eric@eukrea.com>
> ---

Applied to u-boot-imx, -next branch, thanks !

Best regards,
Stefano Babic
diff mbox

Patch

diff --git a/board/freescale/mx6sabresd/mx6sabresd.c b/board/freescale/mx6sabresd/mx6sabresd.c
index 297d20d..2a1a2e8 100644
--- a/board/freescale/mx6sabresd/mx6sabresd.c
+++ b/board/freescale/mx6sabresd/mx6sabresd.c
@@ -254,14 +254,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;