nitrogen6x: use common detect_hdmi
authorEric Benard <eric@eukrea.com>
Fri, 4 Apr 2014 17:05:57 +0000 (19:05 +0200)
committerStefano Babic <sbabic@denx.de>
Tue, 15 Apr 2014 10:23:57 +0000 (12:23 +0200)
Signed-off-by: Eric BĂ©nard <eric@eukrea.com>
board/boundary/nitrogen6x/nitrogen6x.c

index cb5f787b517a105e9e981040b8937dfed7f89580..8475653e511115ec31e627a9f4fb3f7c0f7cb904 100644 (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();