diff options
| author | Michal Simek <monstr@monstr.eu> | 2007-10-14 14:31:47 +0200 |
|---|---|---|
| committer | Michal Simek <monstr@monstr.eu> | 2007-10-14 14:31:47 +0200 |
| commit | 95df6f4ebaaa3972e312be1acf7650a18b84bf3d (patch) | |
| tree | ee69b8872cf8c295a48244280c82d98e191111ab /board/amcc | |
| parent | b49c90df6e7cfcfb8b862b8bbf8448dff5eed9a5 (diff) | |
| parent | b90c045f035c3cc9b5d2edaed6048dfb74e40763 (diff) | |
| download | olio-uboot-2014.01-95df6f4ebaaa3972e312be1acf7650a18b84bf3d.tar.xz olio-uboot-2014.01-95df6f4ebaaa3972e312be1acf7650a18b84bf3d.zip | |
Merge ../master/
Diffstat (limited to 'board/amcc')
| -rw-r--r-- | board/amcc/katmai/katmai.c | 4 | ||||
| -rw-r--r-- | board/amcc/taishan/taishan.c | 4 | ||||
| -rw-r--r-- | board/amcc/yucca/yucca.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/board/amcc/katmai/katmai.c b/board/amcc/katmai/katmai.c index afd60ece6..a49066fcc 100644 --- a/board/amcc/katmai/katmai.c +++ b/board/amcc/katmai/katmai.c @@ -34,6 +34,8 @@ #undef PCIE_ENDPOINT /* #define PCIE_ENDPOINT 1 */ +DECLARE_GLOBAL_DATA_PTR; + int ppc440spe_init_pcie_rootport(int port); void ppc440spe_setup_pcie(struct pci_controller *hose, int port); @@ -322,8 +324,6 @@ int pci_pre_init(struct pci_controller * hose ) #if defined(CONFIG_PCI) && defined(CFG_PCI_TARGET_INIT) void pci_target_init(struct pci_controller * hose ) { - DECLARE_GLOBAL_DATA_PTR; - /*-------------------------------------------------------------------+ * Disable everything *-------------------------------------------------------------------*/ diff --git a/board/amcc/taishan/taishan.c b/board/amcc/taishan/taishan.c index bc976c752..f00397ed1 100644 --- a/board/amcc/taishan/taishan.c +++ b/board/amcc/taishan/taishan.c @@ -32,6 +32,8 @@ void show_reset_reg(void); #endif +DECLARE_GLOBAL_DATA_PTR; + int lcd_init(void); int board_early_init_f (void) @@ -266,8 +268,6 @@ int pci_pre_init(struct pci_controller * hose ) #if defined(CONFIG_PCI) && defined(CFG_PCI_TARGET_INIT) void pci_target_init(struct pci_controller * hose ) { - DECLARE_GLOBAL_DATA_PTR; - /*--------------------------------------------------------------------------+ * Disable everything *--------------------------------------------------------------------------*/ diff --git a/board/amcc/yucca/yucca.c b/board/amcc/yucca/yucca.c index 397b01873..d7cc384ba 100644 --- a/board/amcc/yucca/yucca.c +++ b/board/amcc/yucca/yucca.c @@ -34,6 +34,8 @@ #include "yucca.h" #include "../cpu/ppc4xx/440spe_pcie.h" +DECLARE_GLOBAL_DATA_PTR; + #undef PCIE_ENDPOINT /* #define PCIE_ENDPOINT 1 */ @@ -668,8 +670,6 @@ int pci_pre_init(struct pci_controller * hose ) #if defined(CONFIG_PCI) && defined(CFG_PCI_TARGET_INIT) void pci_target_init(struct pci_controller * hose ) { - DECLARE_GLOBAL_DATA_PTR; - /*-------------------------------------------------------------------+ * Disable everything *-------------------------------------------------------------------*/ |