diff options
Diffstat (limited to 'drivers/pci/pci_auto.c')
| -rw-r--r-- | drivers/pci/pci_auto.c | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/drivers/pci/pci_auto.c b/drivers/pci/pci_auto.c index 2acf9bf78..384435951 100644 --- a/drivers/pci/pci_auto.c +++ b/drivers/pci/pci_auto.c @@ -26,9 +26,9 @@  #define	PCIAUTO_IDE_MODE_MASK		0x05 -/* the user can define CFG_PCI_CACHE_LINE_SIZE to avoid problems */ -#ifndef CFG_PCI_CACHE_LINE_SIZE -#define CFG_PCI_CACHE_LINE_SIZE	8 +/* the user can define CONFIG_SYS_PCI_CACHE_LINE_SIZE to avoid problems */ +#ifndef CONFIG_SYS_PCI_CACHE_LINE_SIZE +#define CONFIG_SYS_PCI_CACHE_LINE_SIZE	8  #endif  /* @@ -154,7 +154,7 @@ void pciauto_setup_device(struct pci_controller *hose,  	pci_hose_write_config_dword(hose, dev, PCI_COMMAND, cmdstat);  	pci_hose_write_config_byte(hose, dev, PCI_CACHE_LINE_SIZE, -		CFG_PCI_CACHE_LINE_SIZE); +		CONFIG_SYS_PCI_CACHE_LINE_SIZE);  	pci_hose_write_config_byte(hose, dev, PCI_LATENCY_TIMER, 0x80);  } |