From: Eric Benard Date: Fri, 4 Apr 2014 17:05:59 +0000 (+0200) Subject: embest/mx6boards: use common detect_hdmi X-Git-Tag: v2014.07-rc2~9^2~3^2~30 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fef8c66180b95e80b04902998370cc8e2149f66c;p=u-boot embest/mx6boards: use common detect_hdmi Signed-off-by: Eric BĂ©nard --- diff --git a/board/embest/mx6boards/mx6boards.c b/board/embest/mx6boards/mx6boards.c index 6d869611a8..d06b57d1e3 100644 --- a/board/embest/mx6boards/mx6boards.c +++ b/board/embest/mx6boards/mx6boards.c @@ -392,12 +392,6 @@ static void disable_lvds(struct display_info_t const *dev) IOMUXC_GPR2_LVDS_CH0_MODE_MASK); } -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 do_enable_hdmi(struct display_info_t const *dev) { disable_lvds(dev);