summaryrefslogtreecommitdiff
path: root/cpu/ppc4xx/440spe_pcie.h
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2006-08-29 08:05:15 +0200
committerStefan Roese <sr@denx.de>2006-08-29 08:05:15 +0200
commit2b393b0f0af8402ef43b25c1968bfd29714ddffa (patch)
treea77c0f49b268233fd92a3c067b998a569fbaa781 /cpu/ppc4xx/440spe_pcie.h
parentf5577aae4aa9f245c4c67308fe0f7b3cecf61c93 (diff)
downloadu-boot-imx-2b393b0f0af8402ef43b25c1968bfd29714ddffa.zip
u-boot-imx-2b393b0f0af8402ef43b25c1968bfd29714ddffa.tar.gz
u-boot-imx-2b393b0f0af8402ef43b25c1968bfd29714ddffa.tar.bz2
PCIe endpoint support for AMCC Yucca 440SPe board
Patch by Tirumala R Marri, 26 Aug 2006
Diffstat (limited to 'cpu/ppc4xx/440spe_pcie.h')
-rw-r--r--cpu/ppc4xx/440spe_pcie.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/cpu/ppc4xx/440spe_pcie.h b/cpu/ppc4xx/440spe_pcie.h
index 47df762..2becc77 100644
--- a/cpu/ppc4xx/440spe_pcie.h
+++ b/cpu/ppc4xx/440spe_pcie.h
@@ -139,9 +139,17 @@
*/
#define PECFG_BAR0LMPA 0x210
#define PECFG_BAR0HMPA 0x214
+#define PECFG_BAR1MPA 0x218
+#define PECFG_BAR2MPA 0x220
+
#define PECFG_PIMEN 0x33c
#define PECFG_PIM0LAL 0x340
#define PECFG_PIM0LAH 0x344
+#define PECFG_PIM1LAL 0x348
+#define PECFG_PIM1LAH 0x34c
+#define PECFG_PIM01SAL 0x350
+#define PECFG_PIM01SAH 0x354
+
#define PECFG_POM0LAL 0x380
#define PECFG_POM0LAH 0x384
@@ -156,7 +164,8 @@
int ppc440spe_init_pcie(void);
int ppc440spe_init_pcie_rootport(int port);
void yucca_setup_pcie_fpga_rootpoint(int port);
-void ppc440spe_setup_pcie(struct pci_controller *hose, int port);
+void ppc440spe_setup_pcie_rootpoint(struct pci_controller *hose, int port);
+int ppc440spe_setup_pcie_endpoint(struct pci_controller *hose, int port);
int yucca_pcie_card_present(int port);
int pcie_hose_scan(struct pci_controller *hose, int bus);
#endif /* __440SPE_PCIE_H */