rename CFG_ macros to CONFIG_SYS
[platform/kernel/u-boot.git] / drivers / pci / pci_auto.c
index 2acf9bf..3844359 100644 (file)
@@ -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);
 }