summaryrefslogtreecommitdiff
path: root/board/embest
diff options
context:
space:
mode:
authorEric Benard <eric@eukrea.com>2014-04-04 19:05:59 +0200
committerStefano Babic <sbabic@denx.de>2014-04-15 12:23:57 +0200
commitfef8c66180b95e80b04902998370cc8e2149f66c (patch)
tree7488105df7bfa5619e178155278be83b7c444bb6 /board/embest
parentd84187ac750b557f8f4eeafb5e2556811aef8b27 (diff)
downloadu-boot-fef8c66180b95e80b04902998370cc8e2149f66c.tar.gz
u-boot-fef8c66180b95e80b04902998370cc8e2149f66c.tar.bz2
u-boot-fef8c66180b95e80b04902998370cc8e2149f66c.zip
embest/mx6boards: use common detect_hdmi
Signed-off-by: Eric BĂ©nard <eric@eukrea.com>
Diffstat (limited to 'board/embest')
-rw-r--r--board/embest/mx6boards/mx6boards.c6
1 files changed, 0 insertions, 6 deletions
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);