[flashrom] [patch] Add board enable for ABIT AV8

Stefan Reinauer stefan.reinauer at coreboot.org
Thu Oct 13 23:10:39 CEST 2011


On 10/13/11 11:44 AM, Christoph Grenz wrote:
> ===================================================================
> --- board_enable.c	(Revision 1450)
> +++ board_enable.c	(Arbeitskopie)
> @@ -1830,6 +1830,22 @@
>
>   /*
>    * Suited for:
> + *  - abit AV8: Socket939 + K8T800Pro + VT8237
> + */
> +static int board_abit_av8(void)
> +{
> +	uint8_t val;
> +
> +	/* Raise GPO ports GP22&  GP23 */
> +	val = INB(0x404E);
> +	val |= 0xC0;
> +	OUTB(val, 0x404E);
> +	
> +	return 0;
> +}
> +
It would be better to read out the GPIO base and use offsets to that 
instead of hard coding the IO address.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.flashrom.org/pipermail/flashrom/attachments/20111013/2f72998a/attachment.html>


More information about the flashrom mailing list