Forráskód Böngészése

do not enable PCI in kernel by default

Waldemar Brodkorb 9 éve
szülő
commit
ce956d0f96

+ 1 - 0
target/aarch64/systems/arm-fm

@@ -5,5 +5,6 @@ config ADK_TARGET_SYSTEM_ARM_FM
 	select ADK_TARGET_KERNEL_IMAGE
 	select ADK_PACKAGE_BOOT_WRAPPER_AARCH64
 	select ADK_TARGET_WITH_SERIAL
+	select ADK_TARGET_WITH_PCI
 	help
 	 Support for ARMv8 Foundation Model (aarch64).

+ 1 - 0
target/arm/systems/banana-pro

@@ -5,6 +5,7 @@ config ADK_TARGET_SYSTEM_BANANA_PRO
 	select ADK_TARGET_CPU_WITH_NEON
 	select ADK_TARGET_WITH_VGA
 	select ADK_TARGET_WITH_SERIAL
+	select ADK_TARGET_WITH_PCI
 	select ADK_TARGET_WITH_CPU_FREQ
 	select ADK_TARGET_WITH_USB
 	select ADK_TARGET_WITH_INPUT

+ 1 - 0
target/arm/systems/linksys-nslu2

@@ -3,6 +3,7 @@ config ADK_TARGET_SYSTEM_LINKSYS_NSLU2
 	select ADK_CPU_XSCALE
 	select ADK_TARGET_BIG_ENDIAN
 	select ADK_TARGET_WITH_USB
+	select ADK_TARGET_WITH_PCI
 	select ADK_TARGET_WITH_SERIAL
 	select ADK_TARGET_KERNEL_ZIMAGE
 	help

+ 1 - 0
target/arm/systems/raspberry-pi

@@ -5,6 +5,7 @@ config ADK_TARGET_SYSTEM_RASPBERRY_PI
 	select ADK_TARGET_BOARD_BCM28XX
 	select ADK_TARGET_WITH_VGA
 	select ADK_TARGET_WITH_SERIAL
+	select ADK_TARGET_WITH_PCI
 	select ADK_TARGET_WITH_CPU_FREQ
 	select ADK_TARGET_WITH_USB
 	select ADK_TARGET_WITH_INPUT

+ 1 - 0
target/arm/systems/raspberry-pi2

@@ -5,6 +5,7 @@ config ADK_TARGET_SYSTEM_RASPBERRY_PI2
 	select ADK_TARGET_BOARD_BCM28XX
 	select ADK_TARGET_WITH_VGA
 	select ADK_TARGET_WITH_SERIAL
+	select ADK_TARGET_WITH_PCI
 	select ADK_TARGET_WITH_CPU_FREQ
 	select ADK_TARGET_WITH_USB
 	select ADK_TARGET_WITH_INPUT

+ 1 - 0
target/arm/systems/sharp-zaurus

@@ -5,6 +5,7 @@ config ADK_TARGET_SYSTEM_SHARP_ZAURUS
 	select ADK_TARGET_CPU_WITH_IWMMXT
 	select ADK_TARGET_WITH_VGA
 	select ADK_TARGET_WITH_SERIAL
+	select ADK_TARGET_WITH_PCI
 	select ADK_TARGET_WITH_PCMCIA
 	select ADK_TARGET_WITH_INPUT
 	select ADK_TARGET_WITH_SOUND

+ 1 - 0
target/arm/systems/solidrun-imx6

@@ -4,6 +4,7 @@ config ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
 	select ADK_TARGET_LITTLE_ENDIAN
 	select ADK_TARGET_WITH_VGA
 	select ADK_TARGET_WITH_SERIAL
+	select ADK_TARGET_WITH_PCI
 	select ADK_TARGET_WITH_CPU_FREQ
 	select ADK_TARGET_WITH_USB
 	select ADK_TARGET_WITH_SD

+ 1 - 0
target/avr32/systems/atmel-ngw100

@@ -2,6 +2,7 @@ config ADK_TARGET_SYSTEM_ATMEL_NGW100
 	bool "Atmel NGW100"
 	select ADK_CPU_AVR32
 	select ADK_TARGET_WITH_SERIAL
+	select ADK_TARGET_WITH_PCI
 	select ADK_TARGET_KERNEL_UIMAGE
 	select ADK_HOST_BUILD_U_BOOT
 	help

+ 1 - 0
target/linux/Config.in

@@ -3,6 +3,7 @@
 
 source target/linux/config/Config.in.kernel
 source target/linux/config/Config.in.cpu
+source target/linux/config/Config.in.bus
 source target/linux/config/Config.in.block
 source target/linux/config/Config.in.flash
 source target/linux/config/Config.in.fs

+ 10 - 0
target/linux/config/Config.in.bus

@@ -0,0 +1,10 @@
+config ADK_KERNEL_PCI
+	bool
+	select ADK_KERNEL_PCI_QUIRKS
+	depends on ADK_TARGET_WITH_PCI \
+		|| ADK_TARGET_QEMU \
+		|| ADK_TARGET_VBOX
+	default y
+
+config ADK_KERNEL_PCI_QUIRKS
+	bool

+ 0 - 2
target/linux/kernel.config

@@ -37,8 +37,6 @@ CONFIG_TIMERFD=y
 CONFIG_EVENTFD=y
 CONFIG_SHMEM=y
 CONFIG_AIO=y
-CONFIG_PCI=y
-CONFIG_PCI_QUIRKS=y
 CONFIG_TTY=y
 CONFIG_UNIX98_PTYS=y
 CONFIG_DEVMEM=y

+ 1 - 0
target/m68k/systems/aranym-m68k

@@ -3,6 +3,7 @@ config ADK_TARGET_SYSTEM_ARANYM_M68K
 	select ADK_CPU_68040
 	select ADK_TARGET_WITH_VGA
 	select ADK_TARGET_WITH_INPUT
+	select ADK_TARGET_WITH_PCI
 	select ADK_TARGET_WITH_HDD
 	select ADK_TARGET_KERNEL_ZIMAGE
 	help

+ 1 - 0
target/mips/systems/dragino-ms14s

@@ -5,6 +5,7 @@ config ADK_TARGET_SYSTEM_DRAGINO_MS14S
 	select ADK_TARGET_WITH_WATCHDOG
 	select ADK_TARGET_WITH_NAND
 	select ADK_TARGET_WITH_SERIAL
+	select ADK_TARGET_WITH_PCI
 	help
 	  Support for Dragino2 ms14-s.
 

+ 1 - 0
target/mips/systems/mikrotik-rb4xx

@@ -4,6 +4,7 @@ config ADK_TARGET_SYSTEM_MIKROTIK_RB4XX
 	select ADK_TARGET_BIG_ENDIAN
 	select ADK_TARGET_WITH_MINIPCI
 	select ADK_TARGET_WITH_SERIAL
+	select ADK_TARGET_WITH_PCI
 	select ADK_TARGET_WITH_WATCHDOG
 	select ADK_TARGET_WITH_NAND
 	select ADK_TARGET_WITH_LEDS

+ 1 - 0
target/mips/systems/mikrotik-rb532

@@ -4,6 +4,7 @@ config ADK_TARGET_SYSTEM_MIKROTIK_RB532
 	select ADK_TARGET_LITTLE_ENDIAN
 	select ADK_TARGET_WITH_SERIAL
 	select ADK_TARGET_WITH_MINIPCI
+	select ADK_TARGET_WITH_PCI
 	select ADK_TARGET_WITH_WATCHDOG
 	select ADK_TARGET_WITH_NAND
 	select ADK_TARGET_WITH_PATA

+ 1 - 0
target/mips64/systems/lemote-yeelong

@@ -4,6 +4,7 @@ config ADK_TARGET_SYSTEM_LEMOTE_YEELONG
 	select ADK_TARGET_LITTLE_ENDIAN
 	select ADK_TARGET_WITH_USB_BOOT
 	select ADK_TARGET_WITH_USB
+	select ADK_TARGET_WITH_PCI
 	select ADK_TARGET_WITH_VGA
 	select ADK_TARGET_WITH_INPUT
 	select ADK_TARGET_WITH_RTC

+ 1 - 0
target/x86_64/systems/pcengines-apu

@@ -4,6 +4,7 @@ config ADK_TARGET_SYSTEM_PCENGINES_APU
 	select ADK_TARGET_KERNEL_BZIMAGE
 	select ADK_TARGET_WITH_MINIPCI
 	select ADK_TARGET_WITH_SERIAL
+	select ADK_TARGET_WITH_PCI
 	select ADK_TARGET_WITH_USB
 	select ADK_TARGET_WITH_USB_BOOT
 	select ADK_TARGET_WITH_ACPI

+ 1 - 1
target/xtensa/systems/xilinx-kintex7

@@ -3,7 +3,7 @@ config ADK_TARGET_SYSTEM_XILINX_KINTEX7
 	select ADK_CPU_XTENSA
 	select ADK_TARGET_KERNEL_ZIMAGE
 	select ADK_TARGET_WITH_SERIAL
-	select ADK_HOST_BUILD_U_BOOT_GIT
+	select ADK_HOST_BUILD_U_BOOT_XTENSA
 	help
 	 Support for Xilinx Kintex 7 with Cadence daughterboard.