Skip to content

Commit 125884a

Browse files
yangshuyongxiaoxiang781216
authored andcommitted
Changed the pci bus for arm architecture
Signed-off-by: yangshuyong <[email protected]> Signed-off-by: lipengfei28 <[email protected]>
1 parent cec3b5c commit 125884a

File tree

8 files changed

+5833
-797
lines changed

8 files changed

+5833
-797
lines changed

drivers/pci/Kconfig

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,14 @@ menuconfig PCI
88
default n
99
---help---
1010
Enables support for the PCI bus.
11-
Backend bust be provided by per-arch or per-board implementation.
11+
Backend must be provided by per-arch or per-board implementation.
12+
13+
if PCI
14+
15+
config PCI_ASSIGN_ALL_BUSES
16+
bool "Assign resource to all buses"
17+
default !ARCH_X86 && !ARCH_X86_64
18+
---help---
19+
Assign resources to all buses. This is required for some
20+
platforms that have multiple PCI buses.
21+
endif

drivers/pci/Make.defs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
ifeq ($(CONFIG_PCI),y)
2222

23-
CSRCS += pci.c
23+
CSRCS += pci.c pci_ecam.c
2424

2525
# Include PCI device driver build support
2626

0 commit comments

Comments
 (0)