From 035b41bafbee36bd77219010060ab5a3b0cfc928 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Sat, 11 Aug 2012 12:56:00 +0000 Subject: [PATCH] disable PCI support None of the boards we support have PCI connectors SVN-Revision: 33130 --- target/linux/mcs814x/Makefile | 2 +- target/linux/mcs814x/config-default | 34 ++----------------- .../mcs814x/patches-3.3/001-platform.patch | 2 +- 3 files changed, 5 insertions(+), 33 deletions(-) diff --git a/target/linux/mcs814x/Makefile b/target/linux/mcs814x/Makefile index a5818491cd..47569fe9d4 100644 --- a/target/linux/mcs814x/Makefile +++ b/target/linux/mcs814x/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk ARCH:=arm BOARD:=mcs814x BOARDNAME:=Moschip MCS814x -FEATURES:=pci usb squashfs jffs2 +FEATURES:=usb squashfs jffs2 CFLAGS=-Os -pipe -march=armv5te -mtune=arm926ej-s -fno-caller-saves MAINTAINER:=Florian Fainelli diff --git a/target/linux/mcs814x/config-default b/target/linux/mcs814x/config-default index eb6257fadd..d9ba15858d 100644 --- a/target/linux/mcs814x/config-default +++ b/target/linux/mcs814x/config-default @@ -82,7 +82,6 @@ CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y CONFIG_HAVE_FUNCTION_TRACER=y CONFIG_HAVE_GENERIC_DMA_COHERENT=y CONFIG_HAVE_GENERIC_HARDIRQS=y -CONFIG_HAVE_IDE=y CONFIG_HAVE_IRQ_WORK=y CONFIG_HAVE_KERNEL_GZIP=y CONFIG_HAVE_KERNEL_LZMA=y @@ -122,6 +121,7 @@ CONFIG_MCS814X_PHY=y # CONFIG_MCS814X_WATCHDOG is not set CONFIG_MDIO_BOARDINFO=y # CONFIG_MFD_T7L66XB is not set +CONFIG_MIGHT_HAVE_PCI=y # CONFIG_MTD_COMPLEX_MAPPINGS is not set # CONFIG_MTD_IMPA7 is not set CONFIG_MTD_JEDECPROBE=y @@ -133,41 +133,16 @@ CONFIG_NEED_MACH_MEMORY_H=y CONFIG_NEED_PER_CPU_KM=y CONFIG_NET_KEY=y # CONFIG_NET_SCHED is not set -# CONFIG_NET_VENDOR_3COM is not set -# CONFIG_NET_VENDOR_ADAPTEC is not set -# CONFIG_NET_VENDOR_ALTEON is not set -# CONFIG_NET_VENDOR_AMD is not set -# CONFIG_NET_VENDOR_ATHEROS is not set # CONFIG_NET_VENDOR_BROADCOM is not set -# CONFIG_NET_VENDOR_BROCADE is not set # CONFIG_NET_VENDOR_CHELSIO is not set -# CONFIG_NET_VENDOR_CISCO is not set -# CONFIG_NET_VENDOR_DEC is not set -# CONFIG_NET_VENDOR_DLINK is not set -# CONFIG_NET_VENDOR_EMULEX is not set -# CONFIG_NET_VENDOR_EXAR is not set # CONFIG_NET_VENDOR_FARADAY is not set -# CONFIG_NET_VENDOR_HP is not set # CONFIG_NET_VENDOR_INTEL is not set # CONFIG_NET_VENDOR_MARVELL is not set -# CONFIG_NET_VENDOR_MELLANOX is not set # CONFIG_NET_VENDOR_MICREL is not set -# CONFIG_NET_VENDOR_MYRI is not set # CONFIG_NET_VENDOR_NATSEMI is not set -# CONFIG_NET_VENDOR_NVIDIA is not set -# CONFIG_NET_VENDOR_OKI is not set -# CONFIG_NET_VENDOR_QLOGIC is not set -# CONFIG_NET_VENDOR_RDC is not set -# CONFIG_NET_VENDOR_REALTEK is not set # CONFIG_NET_VENDOR_SEEQ is not set -# CONFIG_NET_VENDOR_SILAN is not set -# CONFIG_NET_VENDOR_SIS is not set # CONFIG_NET_VENDOR_SMSC is not set # CONFIG_NET_VENDOR_STMICRO is not set -# CONFIG_NET_VENDOR_SUN is not set -# CONFIG_NET_VENDOR_TEHUTI is not set -# CONFIG_NET_VENDOR_TI is not set -# CONFIG_NET_VENDOR_VIA is not set CONFIG_NLS=y CONFIG_NLS_DEFAULT="iso8859-15" CONFIG_NUPORT_ETHERNET_DRIVER=y @@ -180,14 +155,11 @@ CONFIG_OF_GPIO=y CONFIG_OF_IRQ=y CONFIG_OF_MDIO=y CONFIG_OF_NET=y -CONFIG_OF_PCI=y -CONFIG_OF_PCI_IRQ=y CONFIG_PAGEFLAGS_EXTENDED=y CONFIG_PAGE_OFFSET=0xC0000000 # CONFIG_PARTITION_ADVANCED is not set -CONFIG_PCI=y -CONFIG_PCI_DEBUG=y -CONFIG_PCI_DISABLE_COMMON_QUIRKS=y +# CONFIG_PCI is not set +# CONFIG_PCI_SYSCALL is not set CONFIG_PERF_USE_VMALLOC=y CONFIG_PHYLIB=y # CONFIG_PREEMPT_RCU is not set diff --git a/target/linux/mcs814x/patches-3.3/001-platform.patch b/target/linux/mcs814x/patches-3.3/001-platform.patch index 84b5147329..8d77b72b36 100644 --- a/target/linux/mcs814x/patches-3.3/001-platform.patch +++ b/target/linux/mcs814x/patches-3.3/001-platform.patch @@ -7,7 +7,7 @@ +config ARCH_MCS814X + bool "Moschip MCS814x" + select CPU_ARM926T -+ select PCI ++ select MIGHT_HAVE_PCI + select FIQ + select GENERIC_IRQ_CHIP + select GENERIC_GPIO -- 2.30.2