[U-Boot] [PATCH v2 1/2] mx6sabresd: Avoid hang when HDMI cable is not connected

Stefano Babic sbabic at denx.de
Thu Sep 12 11:47:10 CEST 2013


Hi Fabio,

CC to Eric and Troy.

On 11/09/2013 23:14, Fabio Estevam wrote:

> diff --git a/board/freescale/mx6sabresd/mx6sabresd.c b/board/freescale/mx6sabresd/mx6sabresd.c
> index c832bd9..0f91fe2 100644
> --- a/board/freescale/mx6sabresd/mx6sabresd.c
> +++ b/board/freescale/mx6sabresd/mx6sabresd.c
> @@ -313,7 +313,7 @@ int board_video_skip(void)
>  	if (!panel) {
>  		for (i = 0; i < ARRAY_SIZE(displays); i++) {
>  			struct display_info_t const *dev = displays+i;
> -			if (dev->detect(dev)) {
> +			if (dev->detect && dev->detect(dev)) {

The same should happen on the Nitrogen board. Should this fix extended
to the other boards using hdmi ?

Best regards,
Stefano

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list