From: =?UTF-8?q?Eric=20B=C3=A9nard?= Date: Fri, 4 Apr 2014 19:05:59 +0200 Subject: [U-Boot] [PATCH v2 8/8] embest/mx6boards: use common detect_hdmi In-Reply-To: <1396631159-12904-1-git-send-email-eric@eukrea.com> References: <1396631159-12904-1-git-send-email-eric@eukrea.com> Message-ID: <1396631159-12904-8-git-send-email-eric@eukrea.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Signed-off-by: Eric B?nard --- v2: no change board/embest/mx6boards/mx6boards.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/board/embest/mx6boards/mx6boards.c b/board/embest/mx6boards/mx6boards.c index 6d86961..d06b57d 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); -- 1.9.0