projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rename CFG_ macros to CONFIG_SYS
[platform/kernel/u-boot.git]
/
drivers
/
pci
/
pci_auto.c
diff --git
a/drivers/pci/pci_auto.c
b/drivers/pci/pci_auto.c
index
2acf9bf
..
3844359
100644
(file)
--- a/
drivers/pci/pci_auto.c
+++ b/
drivers/pci/pci_auto.c
@@
-26,9
+26,9
@@
#define PCIAUTO_IDE_MODE_MASK 0x05
#define PCIAUTO_IDE_MODE_MASK 0x05
-/* the user can define C
FG
_PCI_CACHE_LINE_SIZE to avoid problems */
-#ifndef C
FG
_PCI_CACHE_LINE_SIZE
-#define C
FG_PCI_CACHE_LINE_SIZE
8
+/* the user can define C
ONFIG_SYS
_PCI_CACHE_LINE_SIZE to avoid problems */
+#ifndef C
ONFIG_SYS
_PCI_CACHE_LINE_SIZE
+#define C
ONFIG_SYS_PCI_CACHE_LINE_SIZE
8
#endif
/*
#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,
pci_hose_write_config_dword(hose, dev, PCI_COMMAND, cmdstat);
pci_hose_write_config_byte(hose, dev, PCI_CACHE_LINE_SIZE,
- C
FG
_PCI_CACHE_LINE_SIZE);
+ C
ONFIG_SYS
_PCI_CACHE_LINE_SIZE);
pci_hose_write_config_byte(hose, dev, PCI_LATENCY_TIMER, 0x80);
}
pci_hose_write_config_byte(hose, dev, PCI_LATENCY_TIMER, 0x80);
}