diff options
author | Eric Benard <eric@eukrea.com> | 2014-04-04 19:05:56 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2014-04-15 12:23:57 +0200 |
commit | e688a99c07337738dba9fb22a05b9d33eaac597c (patch) | |
tree | 049cf3d9ad3e8f404dd24e18fd56a387a64d9abc /arch/arm/include/asm | |
parent | 3cbeb0f004db555c58e81de24e23ff0b84d46ddc (diff) | |
download | u-boot-imx-e688a99c07337738dba9fb22a05b9d33eaac597c.zip u-boot-imx-e688a99c07337738dba9fb22a05b9d33eaac597c.tar.gz u-boot-imx-e688a99c07337738dba9fb22a05b9d33eaac597c.tar.bz2 |
imx-common/video: add detect_hdmi
this function is used by several board together with board_video_skip
to detect if hdmi is plugged is order to select the display to use.
So move it in imx-common to share it.
Signed-off-by: Eric BĂ©nard <eric@eukrea.com>
Diffstat (limited to 'arch/arm/include/asm')
-rw-r--r-- | arch/arm/include/asm/imx-common/video.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/include/asm/imx-common/video.h b/arch/arm/include/asm/imx-common/video.h index e0c4ef4..2d94850 100644 --- a/arch/arm/include/asm/imx-common/video.h +++ b/arch/arm/include/asm/imx-common/video.h @@ -17,4 +17,8 @@ struct display_info_t { struct fb_videomode mode; }; +#ifdef CONFIG_IMX_HDMI +extern int detect_hdmi(struct display_info_t const *dev); +#endif + #endif |