mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
embest/mx6boards: use common detect_hdmi
Signed-off-by: Eric Bénard <eric@eukrea.com>
This commit is contained in:
committed by
Stefano Babic
parent
d84187ac75
commit
fef8c66180
@@ -392,12 +392,6 @@ static void disable_lvds(struct display_info_t const *dev)
|
|||||||
IOMUXC_GPR2_LVDS_CH0_MODE_MASK);
|
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)
|
static void do_enable_hdmi(struct display_info_t const *dev)
|
||||||
{
|
{
|
||||||
disable_lvds(dev);
|
disable_lvds(dev);
|
||||||
|
Reference in New Issue
Block a user