nitrogen6x: use common detect_hdmi

Signed-off-by: Eric Bénard <eric@eukrea.com>
This commit is contained in:
Eric Benard 2014-04-04 19:05:57 +02:00 committed by Stefano Babic
parent e688a99c07
commit 1220eeb794

View file

@ -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();