[U-Boot-Users] [PATCH] Fix a missing include for the lwmon5 dspic init POST.

Stefan Roese sr at denx.de
Mon Jul 7 09:58:14 CEST 2008


On Friday 30 May 2008, Wolfgang Denk wrote:
> In message <12121336692773-git-send-email-sascha.laue at liebherr.com> you
> wrote: ...
>
> > -	while (!gpio_read_in_bit(CFG_GPIO_DSPIC_READY) && reg++ < 1000) {
> > +	while (gpio_read_in_bit(CFG_GPIO_DSPIC_READY) && reg++ < 1000) {
> >  		udelay(1000);
> >  	}
> > -	gpio_write_bit(CFG_GPIO_HIGHSIDE, 0);
> >  	if (gpio_read_in_bit(CFG_GPIO_DSPIC_READY)) {
> >  		/* set "boot error" flag */
> >  		out_be32((void *)CFG_DSPIC_TEST_ADDR,
> >  			in_be32((void *)CFG_DSPIC_TEST_ADDR) |
> >  			CFG_DSPIC_TEST_MASK);
> > +	} else {
> > +		/* dspic ready - disable LSB transmitter */
> > +		gpio_write_bit(CFG_GPIO_HIGHSIDE, 0);
>
> Description and patch don't match. Please fix.

Sascha, any updates here?

Thanks.

Best regards,
Stefan

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




More information about the U-Boot mailing list