On 06.08.2009, at 19:38, Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net
wrote:
Add ICH6,ICH7,ICH8,ICH9,ICH10 FWH IDSEL settings and flash decode settings to the debug output. This can help debug cases where the BIOS does not set up a correct flash decode for the given flash size. The Intel docs state that the decode applies to FWH and SPI flash.
Hardcode IDSEL=0 for the top 8 MB for now.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net
- printf("\nSetting IDSEL=0 for top 8 MB");
- pci_write_word(dev, 0xd0, 0x00000000);
Is this supposed to be a 16bit or 32bit write?
return enable_flash_ich(dev, name, 0xdc); }
Stefan