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

Wolfgang Denk wd at denx.de
Fri May 30 11:34:11 CEST 2008


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.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
: ... and it's got weird formatting - Notepad, Write, Works  3  can't
: decipher it, and it's too big to go in DOS Edit. Help!
Install an operating system. :-)                  -- Tom Christiansen




More information about the U-Boot mailing list