[coreboot] [commit] r5270 - trunk/src/southbridge/intel/i82801dx

Stefan Reinauer stepan at coresystems.de
Tue Mar 23 10:38:57 CET 2010


On 3/23/10 12:10 AM, repository service wrote:
> +	/* Check to see whether it took */
> +	reg32 = pci_read_config32(dev, GEN_CNTL);
> +	val = reg32 >> 15;
> +	val &= 0x7;
> +
> +	if ((val & 0x4) && (hpet == (val & 0x3))) {
> +		printk_debug("HPET enabled at 0x%x\n", HPET_ADDR);
> +	} else {
> +		printk_err("HPET was not enabled correctly\n");
> +		reg32 &= ~(1 << 17);	/* Clear Enable */
> +		pci_write_config32(dev, GEN_CNTL, reg32);
> +	}
>   

What kind of errr condition does that check for?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20100323/1f7a6727/attachment.html>


More information about the coreboot mailing list