projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d84187a
)
embest/mx6boards: use common detect_hdmi
author
Eric Benard
<eric@eukrea.com>
Fri, 4 Apr 2014 17:05:59 +0000
(19:05 +0200)
committer
Stefano 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/embest/mx6boards/mx6boards.c
patch
|
blob
|
history
diff --git
a/board/embest/mx6boards/mx6boards.c
b/board/embest/mx6boards/mx6boards.c
index 6d869611a865d2f4a93f8a0927725f3354967c9a..d06b57d1e3dda6d9b28bc7e810fd31fec2278ea3 100644
(file)
--- 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);