From: Gabor Juhos Date: Sat, 18 Jul 2009 14:35:14 +0000 (+0000) Subject: optimize the kernel for size, disable common PCI quirks, and sync kernel config X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0238a90a63f7627ca56671e795e6a3329d4c752a;p=librecmc%2Flibrecmc.git optimize the kernel for size, disable common PCI quirks, and sync kernel config SVN-Revision: 16899 --- diff --git a/target/linux/ppc40x/config-default b/target/linux/ppc40x/config-default index 51eeebd762..d0db7b07a8 100644 --- a/target/linux/ppc40x/config-default +++ b/target/linux/ppc40x/config-default @@ -1,3 +1,4 @@ +CONFIG_405EP=y CONFIG_405EX=y CONFIG_40x=y # CONFIG_44x is not set @@ -14,13 +15,17 @@ CONFIG_ARCH_HAS_ILOG2_U32=y CONFIG_ARCH_HAS_WALK_MEMORY=y CONFIG_ARCH_MAY_HAVE_PC_FDC=y # CONFIG_ARCH_NO_VIRT_TO_BUS is not set +# CONFIG_ARCH_PHYS_ADDR_T_64BIT is not set CONFIG_ARCH_POPULATES_NODE_MAP=y +CONFIG_ARCH_REQUIRE_GPIOLIB=y CONFIG_ARCH_SUPPORTS_MSI=y +CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y CONFIG_AUDIT_ARCH=y CONFIG_BASE_SMALL=0 CONFIG_BITREVERSE=y # CONFIG_BOOKE_WDT is not set CONFIG_BOUNCE=y +CONFIG_CC_OPTIMIZE_FOR_SIZE=y CONFIG_CLASSIC_RCU=y CONFIG_CMDLINE="console=ttyS0,115200 root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd" CONFIG_CMDLINE_BOOL=y @@ -30,8 +35,6 @@ CONFIG_CONSISTENT_START=0xff100000 # CONFIG_DEBUG_BUGVERBOSE is not set # CONFIG_DEFAULT_UIMAGE is not set CONFIG_DEVPORT=y -# CONFIG_DMADEVICES is not set -# CONFIG_E1000E_ENABLED is not set # CONFIG_E200 is not set CONFIG_EARLY_PRINTK=y # CONFIG_EDAC is not set @@ -39,26 +42,32 @@ CONFIG_EARLY_PRINTK=y CONFIG_EXTRA_TARGETS="uImage" CONFIG_FORCE_MAX_ZONEORDER=11 # CONFIG_FSL_ULI1575 is not set -CONFIG_FS_POSIX_ACL=y CONFIG_GENERIC_BUG=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_GENERIC_CLOCKEVENTS_BUILD=y CONFIG_GENERIC_CMOS_UPDATE=y -# CONFIG_GENERIC_FIND_FIRST_BIT is not set CONFIG_GENERIC_FIND_NEXT_BIT=y +CONFIG_GENERIC_GPIO=y # CONFIG_GENERIC_IOMAP is not set CONFIG_GENERIC_NVRAM=y # CONFIG_GENERIC_TBSYNC is not set CONFIG_GENERIC_TIME_VSYSCALL=y # CONFIG_GEN_RTC is not set +CONFIG_GPIOLIB=y CONFIG_HAS_DMA=y CONFIG_HAS_IOMEM=y CONFIG_HAS_IOPORT=y # CONFIG_HAS_RAPIDIO is not set -# CONFIG_HAVE_DMA_ATTRS is not set +CONFIG_HAVE_ARCH_KGDB=y +CONFIG_HAVE_ARCH_TRACEHOOK=y +CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y +CONFIG_HAVE_FUNCTION_TRACER=y +# CONFIG_HAVE_GENERIC_DMA_COHERENT is not set CONFIG_HAVE_IDE=y +CONFIG_HAVE_IOREMAP_PROT=y CONFIG_HAVE_KPROBES=y CONFIG_HAVE_KRETPROBES=y +CONFIG_HAVE_LATENCYTOP_SUPPORT=y CONFIG_HAVE_LMB=y CONFIG_HAVE_OPROFILE=y # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set @@ -77,23 +86,18 @@ CONFIG_IBM_NEW_EMAC_RGMII=y CONFIG_IBM_NEW_EMAC_RXB=256 CONFIG_IBM_NEW_EMAC_RX_COPY_THRESHOLD=256 CONFIG_IBM_NEW_EMAC_RX_SKB_HEADROOM=0 -# CONFIG_IBM_NEW_EMAC_TAH is not set CONFIG_IBM_NEW_EMAC_TXB=256 -# CONFIG_IBM_NEW_EMAC_ZMII is not set # CONFIG_IDE is not set CONFIG_INITRAMFS_SOURCE="" # CONFIG_IOMMU_HELPER is not set # CONFIG_IPIC is not set -CONFIG_IPV6_NDISC_NODETYPE=y # CONFIG_IRQSTACKS is not set CONFIG_IRQ_PER_CPU=y CONFIG_ISA_DMA_API=y -# CONFIG_IWLWIFI_LEDS is not set CONFIG_KERNEL_START=0xc0000000 CONFIG_KILAUEA=y +# CONFIG_LEDS_GPIO is not set CONFIG_LOWMEM_SIZE=0x30000000 -CONFIG_LZO_COMPRESS=m -CONFIG_LZO_DECOMPRESS=m # CONFIG_MACINTOSH_DRIVERS is not set CONFIG_MAGICBOXV1=y CONFIG_MAGICBOXV2=y @@ -108,26 +112,25 @@ CONFIG_MTD_CFI_ADV_OPTIONS=y CONFIG_MTD_OF_PARTS=y CONFIG_MTD_PHYSMAP_OF=y # CONFIG_NATSEMI is not set -# CONFIG_NE2K_PCI is not set -# CONFIG_NET_VENDOR_3COM is not set CONFIG_NOT_COHERENT_CACHE=y # CONFIG_NVRAM is not set -# CONFIG_OCF_OCF is not set CONFIG_OF=y CONFIG_OF_DEVICE=y +CONFIG_OF_GPIO=y CONFIG_PAGEFLAGS_EXTENDED=y CONFIG_PAGE_OFFSET=0xc0000000 CONFIG_PCI=y CONFIG_PCIEAER=y # CONFIG_PCIEASPM is not set CONFIG_PCIEPORTBUS=y -# CONFIG_PCIPCWATCHDOG is not set +CONFIG_PCI_DISABLE_COMMON_QUIRKS=y CONFIG_PCI_DOMAINS=y CONFIG_PCI_MSI=y CONFIG_PCI_SYSCALL=y CONFIG_PHYSICAL_START=0x00000000 CONFIG_PPC=y CONFIG_PPC32=y +CONFIG_PPC40x_SIMPLE=y CONFIG_PPC4xx_PCI_EXPRESS=y # CONFIG_PPC64 is not set # CONFIG_PPC_85xx is not set @@ -143,12 +146,10 @@ CONFIG_PPC_DCR_NATIVE=y # CONFIG_PPC_I8259 is not set # CONFIG_PPC_INDIRECT_IO is not set CONFIG_PPC_INDIRECT_PCI=y -CONFIG_PPC_MERGE=y # CONFIG_PPC_MM_SLICES is not set # CONFIG_PPC_MPC106 is not set -# CONFIG_PPC_MPC5121 is not set -# CONFIG_PPC_MPC512x is not set CONFIG_PPC_OF=y +CONFIG_PPC_PCI_CHOICE=y # CONFIG_PPC_RTAS is not set CONFIG_PPC_UDBG_16550=y # CONFIG_PQ2ADS is not set @@ -156,22 +157,19 @@ CONFIG_PROC_DEVICETREE=y # CONFIG_R6040 is not set CONFIG_RESOURCES_64BIT=y CONFIG_RWSEM_XCHGADD_ALGORITHM=y -# CONFIG_SCHED_HRTICK is not set +CONFIG_SCHED_HRTICK=y CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y +# CONFIG_SCSI_DMA is not set # CONFIG_SERIAL_8250_DETECT_IRQ is not set CONFIG_SERIAL_8250_EXTENDED=y # CONFIG_SERIAL_8250_MANY_PORTS is not set # CONFIG_SERIAL_8250_RSA is not set CONFIG_SERIAL_8250_SHARE_IRQ=y CONFIG_SERIAL_OF_PLATFORM=y -CONFIG_SLABINFO=y -# CONFIG_SND_PPC is not set -# CONFIG_SOUND is not set CONFIG_TASK_SIZE=0xc0000000 CONFIG_TICK_ONESHOT=y # CONFIG_VGASTATE is not set # CONFIG_VIA_RHINE is not set -CONFIG_VIDEO_MEDIA=m # CONFIG_WALNUT is not set CONFIG_WORD_SIZE=32 # CONFIG_XILINX_SYSACE is not set