Disable this check for now; it fails on the AR9344 PCI fixup code.

I'll make it conditional later.

Tested:

* DB120
This commit is contained in:
Adrian Chadd 2014-02-14 05:22:28 +00:00
parent e9330c7b33
commit 73a9ec2e15
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=261870

View File

@ -261,11 +261,13 @@ ar724x_pci_fixup(device_t dev, long flash_addr, int len)
uint32_t bar0, reg, val;
uint16_t *cal_data = (uint16_t *) MIPS_PHYS_TO_KSEG1(flash_addr);
#if 0
if (cal_data[0] != AR5416_EEPROM_MAGIC) {
device_printf(dev, "%s: Invalid calibration data from 0x%x\n",
__func__, (uintptr_t) flash_addr);
return;
}
#endif
/* Save bar(0) address - just to flush bar(0) (SoC WAR) ? */
bar0 = ar724x_pci_read_config(dev, 0, 0, 0, PCIR_BAR(0), 4);