From: Eric Benard Date: Fri, 4 Apr 2014 17:05:57 +0000 (+0200) Subject: nitrogen6x: use common detect_hdmi X-Git-Tag: v2014.07-rc2~9^2~3^2~32 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1220eeb794007a7d6aec727f0b0e6ea9d814ba97;p=u-boot nitrogen6x: use common detect_hdmi Signed-off-by: Eric BĂ©nard --- diff --git a/board/boundary/nitrogen6x/nitrogen6x.c b/board/boundary/nitrogen6x/nitrogen6x.c index cb5f787b51..8475653e51 100644 --- a/board/boundary/nitrogen6x/nitrogen6x.c +++ b/board/boundary/nitrogen6x/nitrogen6x.c @@ -445,12 +445,6 @@ static iomux_v3_cfg_t const rgb_pads[] = { MX6_PAD_DISP0_DAT23__IPU1_DISP0_DATA23, }; -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) { imx_enable_hdmi_phy();