Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 77515
b: refs/heads/master
c: 038ee08
h: refs/heads/master
i:
  77513: 583bc02
  77511: 8347f89
v: v3
  • Loading branch information
Tzachi Perelstein authored and Russell King committed Jan 26, 2008
1 parent 2461753 commit 2da99a4
Show file tree
Hide file tree
Showing 5 changed files with 577 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 585cf17561d3174a745bec49c422c1a621c95fc4
refs/heads/master: 038ee0832ee1b1e2bd2be4599cd535ea9aaaf658
1 change: 1 addition & 0 deletions trunk/arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,7 @@ config ARCH_MXC
config ARCH_ORION
bool "Marvell Orion"
depends on MMU
select PCI
help
Support for Marvell Orion System on Chip family.

Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-orion/Makefile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
obj-y += common.o
obj-y += common.o pci.o
17 changes: 17 additions & 0 deletions trunk/arch/arm/mach-orion/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,21 @@
*/
void __init orion_map_io(void);

/*
* Shared code used internally by other Orion core functions.
* (/mach-orion/pci.c)
*/

struct pci_sys_data;
struct pci_bus;

void orion_pcie_id(u32 *dev, u32 *rev);
u32 orion_pcie_local_bus_nr(void);
u32 orion_pci_local_bus_nr(void);
u32 orion_pci_local_dev_nr(void);
int orion_pci_sys_setup(int nr, struct pci_sys_data *sys);
struct pci_bus *orion_pci_sys_scan_bus(int nr, struct pci_sys_data *sys);
int orion_pci_hw_rd_conf(u32 bus, u32 dev, u32 func, u32 where, u32 size, u32 *val);
int orion_pci_hw_wr_conf(u32 bus, u32 dev, u32 func, u32 where, u32 size, u32 val);

#endif /* __ARCH_ORION_COMMON_H__ */
Loading

0 comments on commit 2da99a4

Please sign in to comment.