[flashrom] Fix mess-up in commit 845

Luc Verhaegen libv at skynet.be
Sat Jan 9 23:49:35 CET 2010


On Sat, Jan 09, 2010 at 07:29:48PM +0100, Michael Karcher wrote:
> commit 845 is wrong, as I deleted a wrong line when I wanted to remove
> debugging print code. This (hopefully obviously correct) patch fixes the
> issue. As a previous version (before adding the debugging statement) was
> already executed on the board, the missing OUTW was executed on the
> testers machine on an earlier flashrom run.
> 
> Regards,
>   Michael Karcher
> 
> Index: board_enable.c
> ===================================================================
> --- board_enable.c	(Revision 845)
> +++ board_enable.c	(Arbeitskopie)
> @@ -967,7 +967,7 @@
>  	base = pci_read_word(dev, 0x74);
>  	temp = INW(base + 0x68);
>  	temp &= ~(1 << 0);		/* Make pin output? */
> -	printf_debug("changed to %04x\n",temp);
> +	OUTW(temp, base + 0x68);
>  
>  	temp = INW(base + 0x64);
>  	temp |= (1 << 0);		/* Raise output? */
> 
> 
> 

Acked-by: Luc Verhaegen <libv at skynet.be>

Luc Verhaegen.




More information about the flashrom mailing list