It is always a headache dealing with different defconfigs though they only differ in a few places. Hence we are proposing a new way of writing the defconfig: 1. Define a basic defconfig say mpc85xx_basic_defconfig 2. Spin off as much features as possible from the current mpc85xx_defconfig and create a separate config file, say, smp.config, kvm_500.config Every time we add a new feature, we don't need to change several defconfigs, we just add a new *.config And you could merge any fragments you want into .config with the current kconfig in Kernel.
Say you want to build mpc85xx_smp_defconfig, you do 7 steps: make mpc85xx_basic_defconfig make 32bit.config make smp.config make cpu8.config make kvm_e500.config make uart2.config make i2c.config With the new rules added into arch/powerpc/Makefile, you can do it in one step: make mpc85xx_smp_defconfig The reason why I add new rules in arch/powerpc/Makefile is because I don't want to break the build for existing defconfigs. Signed-off-by: Lijun Pan <lijun....@freescale.com> --- v3 changes: 1.call "merge_config.sh -m" several times to get a concatenated arch/powerpc/configs/*_tmp_defconfig before any real "make". 2. call "make *_tmp_defconfig" to make $(objtree)/.config identical before and after this patch. 3. Here is a snap shot of comparison of the .config before and after this patch. directory "scottwood" has my patch, directory "scottwood" does not have my patch I compare the .config from both directories. They are the same for mpc85xx_defconfig, mpc85xx_smp_defconfig, corenet32_smp_defconfig, and corenet64_smp_defconfig. ************* mpc85xx_defconfig ************* [b44306@b44306-12 linux]$ ls scottwood scottwood2 torvalds [b44306@b44306-12 scottwood]$ make mpc85xx_defconfig Using ./arch/powerpc/configs/.config as base Merging ./arch/powerpc/configs/32-bit.config # # merged configuration written to ./arch/powerpc/configs/.config (needs make) # Using ./arch/powerpc/configs/.config as base Merging ./arch/powerpc/configs/uart6.config # # merged configuration written to ./arch/powerpc/configs/.config (needs make) # Using ./arch/powerpc/configs/.config as base Merging ./arch/powerpc/configs/mpc85xx_misc.config # # merged configuration written to ./arch/powerpc/configs/.config (needs make) # HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o SHIPPED scripts/kconfig/zconf.tab.c SHIPPED scripts/kconfig/zconf.lex.c SHIPPED scripts/kconfig/zconf.hash.c HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf # # configuration written to .config # [b44306@b44306-12 scottwood2]$ make mpc85xx_defconfig HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o SHIPPED scripts/kconfig/zconf.tab.c SHIPPED scripts/kconfig/zconf.lex.c SHIPPED scripts/kconfig/zconf.hash.c HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf # # configuration written to .config [b44306@b44306-12 scottwood]$ ./scripts/diffconfig ../scottwood2/.config .config [b44306@b44306-12 scottwood]$ **************mpc85xx_smp_defconfig********* [b44306@b44306-12 scottwood]$ make mpc85xx_smp_defconfig Using ./arch/powerpc/configs/.config as base Merging ./arch/powerpc/configs/32-bit.config # # merged configuration written to ./arch/powerpc/configs/.config (needs make) # Using ./arch/powerpc/configs/.config as base Merging ./arch/powerpc/configs/smp.config # # merged configuration written to ./arch/powerpc/configs/.config (needs make) # Using ./arch/powerpc/configs/.config as base Merging ./arch/powerpc/configs/cpu8.config # # merged configuration written to ./arch/powerpc/configs/.config (needs make) # Using ./arch/powerpc/configs/.config as base Merging ./arch/powerpc/configs/kvm_e500.config # # merged configuration written to ./arch/powerpc/configs/.config (needs make) # Using ./arch/powerpc/configs/.config as base Merging ./arch/powerpc/configs/uart2.config # # merged configuration written to ./arch/powerpc/configs/.config (needs make) # Using ./arch/powerpc/configs/.config as base Merging ./arch/powerpc/configs/i2c.config # # merged configuration written to ./arch/powerpc/configs/.config (needs make) # # # configuration written to .config # [b44306@b44306-12 scottwood2]$ make mpc85xx_smp_defconfig # # configuration written to .config # [b44306@b44306-12 scottwood2]$ [b44306@b44306-12 scottwood]$ ./scripts/diffconfig ../scottwood2/.config .config EPAPR_PARAVIRT n -> y KVM_GUEST n -> y PPC_QEMU_E500 n -> y // these changes are expected since mpc85xx_smp_defconfig has enabled kvm_e500.config in freescale's internal git repo. *********corenet32_smp_defconfig******** [b44306@b44306-12 scottwood]$ make corenet32_smp_defconfig Using ./arch/powerpc/configs/.config as base Merging ./arch/powerpc/configs/32-bit.config # # merged configuration written to ./arch/powerpc/configs/.config (needs make) # Using ./arch/powerpc/configs/.config as base Merging ./arch/powerpc/configs/smp.config # # merged configuration written to ./arch/powerpc/configs/.config (needs make) # Using ./arch/powerpc/configs/.config as base Merging ./arch/powerpc/configs/cpu8.config # # merged configuration written to ./arch/powerpc/configs/.config (needs make) # Using ./arch/powerpc/configs/.config as base Merging ./arch/powerpc/configs/corenet32_misc.config # # merged configuration written to ./arch/powerpc/configs/.config (needs make) # # # configuration written to .config # [b44306@b44306-12 scottwood2]$ make corenet32_smp_defconfig HOSTCC scripts/basic/bin2c # # configuration written to .config # [b44306@b44306-12 scottwood2]$ [b44306@b44306-12 scottwood]$ ./scripts/diffconfig ../scottwood2/.config .config [b44306@b44306-12 scottwood]$ *************corenet64_smp_defconfig*************** [b44306@b44306-12 scottwood]$ make corenet64_smp_defconfig Using ./arch/powerpc/configs/.config as base Merging ./arch/powerpc/configs/64-bit.config # # merged configuration written to ./arch/powerpc/configs/.config (needs make) # Using ./arch/powerpc/configs/.config as base Merging ./arch/powerpc/configs/smp.config # # merged configuration written to ./arch/powerpc/configs/.config (needs make) # Using ./arch/powerpc/configs/.config as base Merging ./arch/powerpc/configs/cpu24.config # # merged configuration written to ./arch/powerpc/configs/.config (needs make) # Using ./arch/powerpc/configs/.config as base Merging ./arch/powerpc/configs/dma.config # # merged configuration written to ./arch/powerpc/configs/.config (needs make) # Using ./arch/powerpc/configs/.config as base Merging ./arch/powerpc/configs/math_emulation.config # # merged configuration written to ./arch/powerpc/configs/.config (needs make) # Using ./arch/powerpc/configs/.config as base Merging ./arch/powerpc/configs/cgroup.config # # merged configuration written to ./arch/powerpc/configs/.config (needs make) # Using ./arch/powerpc/configs/.config as base Merging ./arch/powerpc/configs/corenet64_misc.config # # merged configuration written to ./arch/powerpc/configs/.config (needs make) # # # configuration written to .config # [b44306@b44306-12 scottwood]$ [b44306@b44306-12 scottwood2]$ make corenet64_smp_defconfig # # configuration written to .config # [b44306@b44306-12 scottwood]$ ./scripts/diffconfig ../scottwood2/.config .config [b44306@b44306-12 scottwood]$ v2 changes: rename kvm_guest.config to kvm_e500.config utilize the definition of mergeconfig in scripts/kconfig/Makefile .config before and after this patch differs, need to investigate more need suggestions on what other features to spin off mpc85xx corenet32/64 arch/powerpc/Makefile | 46 ++++ arch/powerpc/configs/32-bit.config | 1 + arch/powerpc/configs/64-bit.config | 3 + arch/powerpc/configs/cgroup.config | 4 + arch/powerpc/configs/corenet32_misc.config | 36 +++ arch/powerpc/configs/corenet32_smp_defconfig | 185 --------------- arch/powerpc/configs/corenet64_misc.config | 16 ++ .../{corenet64_smp_defconfig => corenet_defconfig} | 31 +-- arch/powerpc/configs/cpu24.config | 1 + arch/powerpc/configs/cpu8.config | 1 + arch/powerpc/configs/dma.config | 2 + arch/powerpc/configs/i2c.config | 1 + arch/powerpc/configs/kvm_e500.config | 2 + arch/powerpc/configs/math_emulation.config | 2 + ...c85xx_smp_defconfig => mpc85xx_basic_defconfig} | 6 - arch/powerpc/configs/mpc85xx_defconfig | 252 --------------------- arch/powerpc/configs/mpc85xx_misc.config | 11 + arch/powerpc/configs/smp.config | 1 + arch/powerpc/configs/uart2.config | 2 + arch/powerpc/configs/uart6.config | 2 + 20 files changed, 132 insertions(+), 473 deletions(-) create mode 100644 arch/powerpc/configs/32-bit.config create mode 100644 arch/powerpc/configs/64-bit.config create mode 100644 arch/powerpc/configs/cgroup.config create mode 100644 arch/powerpc/configs/corenet32_misc.config delete mode 100644 arch/powerpc/configs/corenet32_smp_defconfig create mode 100644 arch/powerpc/configs/corenet64_misc.config rename arch/powerpc/configs/{corenet64_smp_defconfig => corenet_defconfig} (83%) create mode 100644 arch/powerpc/configs/cpu24.config create mode 100644 arch/powerpc/configs/cpu8.config create mode 100644 arch/powerpc/configs/dma.config create mode 100644 arch/powerpc/configs/i2c.config create mode 100644 arch/powerpc/configs/kvm_e500.config create mode 100644 arch/powerpc/configs/math_emulation.config rename arch/powerpc/configs/{mpc85xx_smp_defconfig => mpc85xx_basic_defconfig} (97%) delete mode 100644 arch/powerpc/configs/mpc85xx_defconfig create mode 100644 arch/powerpc/configs/mpc85xx_misc.config create mode 100644 arch/powerpc/configs/smp.config create mode 100644 arch/powerpc/configs/uart2.config create mode 100644 arch/powerpc/configs/uart6.config diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index fc502e0..7c80298 100644 --- a/arch/powerpc/Makefile +++ b/arch/powerpc/Makefile @@ -269,6 +269,52 @@ bootwrapper_install: %.dtb: scripts $(Q)$(MAKE) ARCH=ppc64 $(build)=$(boot) $(patsubst %,$(boot)/%,$@) +configfiles=$(wildcard $(srctree)/kernel/configs/$(1).config $(srctree)/arch/$(SRCARCH)/configs/$(1).config) + +define mergeconfig +$(Q)$(CONFIG_SHELL) $(srctree)/scripts/kconfig/merge_config.sh -m -O $(objtree)/arch/$(SRCARCH)/configs $(objtree)/arch/$(SRCARCH)/configs/.config $(call configfiles,$(1)) +endef + +mpc85xx_defconfig: + $(Q)cp $(srctree)/arch/$(SRCARCH)/configs/mpc85xx_basic_defconfig $(srctree)/arch/$(SRCARCH)/configs/.config + $(call mergeconfig,32-bit) + $(call mergeconfig,uart6) + $(call mergeconfig,mpc85xx_misc) + $(Q)mv $(objtree)/arch/$(SRCARCH)/configs/.config $(objtree)/arch/$(SRCARCH)/configs/mpc85xx_tmp_defconfig + $(Q)$(MAKE) -f $(srctree)/Makefile mpc85xx_tmp_defconfig + +mpc85xx_smp_defconfig: + $(Q)cp $(srctree)/arch/$(SRCARCH)/configs/mpc85xx_basic_defconfig $(srctree)/arch/$(SRCARCH)/configs/.config + $(call mergeconfig,32-bit) + $(call mergeconfig,smp) + $(call mergeconfig,cpu8) + $(call mergeconfig,kvm_e500) + $(call mergeconfig,uart2) + $(call mergeconfig,i2c) + $(Q)mv $(objtree)/arch/$(SRCARCH)/configs/.config $(objtree)/arch/$(SRCARCH)/configs/mpc85xx_smp_tmp_defconfig + $(Q)$(MAKE) -f $(srctree)/Makefile mpc85xx_smp_tmp_defconfig + +corenet32_smp_defconfig: + $(Q)cp $(srctree)/arch/$(SRCARCH)/configs/corenet_defconfig $(srctree)/arch/$(SRCARCH)/configs/.config + $(call mergeconfig,32-bit) + $(call mergeconfig,smp) + $(call mergeconfig,cpu8) + $(call mergeconfig,corenet32_misc) + $(Q)mv $(objtree)/arch/$(SRCARCH)/configs/.config $(objtree)/arch/$(SRCARCH)/configs/corenet32_smp_tmp_defconfig + $(Q)$(MAKE) -f $(srctree)/Makefile corenet32_smp_tmp_defconfig + +corenet64_smp_defconfig: + $(Q)cp $(srctree)/arch/$(SRCARCH)/configs/corenet_defconfig $(srctree)/arch/$(SRCARCH)/configs/.config + $(call mergeconfig,64-bit) + $(call mergeconfig,smp) + $(call mergeconfig,cpu24) + $(call mergeconfig,dma) + $(call mergeconfig,math_emulation) + $(call mergeconfig,cgroup) + $(call mergeconfig,corenet64_misc) + $(Q)mv $(objtree)/arch/$(SRCARCH)/configs/.config $(objtree)/arch/$(SRCARCH)/configs/corenet64_smp_tmp_defconfig + $(Q)$(MAKE) -f $(srctree)/Makefile corenet64_smp_tmp_defconfig + define archhelp @echo '* zImage - Build default images selected by kernel config' @echo ' zImage.* - Compressed kernel image (arch/$(ARCH)/boot/zImage.*)' diff --git a/arch/powerpc/configs/32-bit.config b/arch/powerpc/configs/32-bit.config new file mode 100644 index 0000000..3b8b43b --- /dev/null +++ b/arch/powerpc/configs/32-bit.config @@ -0,0 +1 @@ +CONFIG_PPC_85xx=y diff --git a/arch/powerpc/configs/64-bit.config b/arch/powerpc/configs/64-bit.config new file mode 100644 index 0000000..b53af55 --- /dev/null +++ b/arch/powerpc/configs/64-bit.config @@ -0,0 +1,3 @@ +CONFIG_PPC64=y +CONFIG_PPC_BOOK3E_64=y +CONFIG_ALTIVEC=y diff --git a/arch/powerpc/configs/cgroup.config b/arch/powerpc/configs/cgroup.config new file mode 100644 index 0000000..a6012a3 --- /dev/null +++ b/arch/powerpc/configs/cgroup.config @@ -0,0 +1,4 @@ +CONFIG_CGROUPS=y +CONFIG_CPUSETS=y +CONFIG_CGROUP_CPUACCT=y +CONFIG_CGROUP_SCHED=y diff --git a/arch/powerpc/configs/corenet32_misc.config b/arch/powerpc/configs/corenet32_misc.config new file mode 100644 index 0000000..4ad0ea1 --- /dev/null +++ b/arch/powerpc/configs/corenet32_misc.config @@ -0,0 +1,36 @@ +CONFIG_AT803X_PHY=y +CONFIG_AUDIT=y +CONFIG_CHR_DEV_ST=y +CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=n +CONFIG_CRAMFS=y +CONFIG_E1000=y +CONFIG_EDAC_MPC85XX=y +CONFIG_EMBEDDED=y +CONFIG_EXT3_DEFAULTS_TO_ORDERED=n +CONFIG_FORCE_MAX_ZONEORDER=13 +CONFIG_HIGHMEM=y +CONFIG_INET_AH=y +CONFIG_INET_IPCOMP=y +CONFIG_KEXEC=y +CONFIG_LEGACY_PTYS=n +CONFIG_NET_KEY_MIGRATE=y +CONFIG_NVRAM=y +CONFIG_PATA_SIL680=y +CONFIG_PCI=y +CONFIG_PCIEASPM=n +CONFIG_PERF_EVENTS=y +CONFIG_POSIX_MQUEUE=y +CONFIG_PPC_85xx=y +CONFIG_RCU_TRACE=y +CONFIG_SATA_AHCI=y +CONFIG_SATA_SIL=y +CONFIG_SCSI_LOGGING=y +CONFIG_SCSI_SYM53C8XX_2=y +CONFIG_SLAB=y +CONFIG_STAGING=y +CONFIG_UIO=y +CONFIG_USB_OHCI_HCD=y +CONFIG_USB_OHCI_HCD_PPC_OF_BE=y +CONFIG_USB_OHCI_HCD_PPC_OF_LE=y +CONFIG_XFRM_STATISTICS=y +CONFIG_XFRM_SUB_POLICY=y diff --git a/arch/powerpc/configs/corenet32_smp_defconfig b/arch/powerpc/configs/corenet32_smp_defconfig deleted file mode 100644 index 3765993..0000000 --- a/arch/powerpc/configs/corenet32_smp_defconfig +++ /dev/null @@ -1,185 +0,0 @@ -CONFIG_PPC_85xx=y -CONFIG_SMP=y -CONFIG_NR_CPUS=8 -CONFIG_SYSVIPC=y -CONFIG_POSIX_MQUEUE=y -CONFIG_AUDIT=y -CONFIG_NO_HZ=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_BSD_PROCESS_ACCT=y -CONFIG_IKCONFIG=y -CONFIG_IKCONFIG_PROC=y -CONFIG_LOG_BUF_SHIFT=14 -CONFIG_BLK_DEV_INITRD=y -CONFIG_KALLSYMS_ALL=y -CONFIG_EMBEDDED=y -CONFIG_PERF_EVENTS=y -CONFIG_SLAB=y -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_MODULE_FORCE_UNLOAD=y -CONFIG_MODVERSIONS=y -# CONFIG_BLK_DEV_BSG is not set -CONFIG_PARTITION_ADVANCED=y -CONFIG_MAC_PARTITION=y -CONFIG_CORENET_GENERIC=y -CONFIG_HIGHMEM=y -# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set -CONFIG_BINFMT_MISC=m -CONFIG_KEXEC=y -CONFIG_FORCE_MAX_ZONEORDER=13 -CONFIG_PCI=y -CONFIG_PCIEPORTBUS=y -# CONFIG_PCIEASPM is not set -CONFIG_PCI_MSI=y -CONFIG_RAPIDIO=y -CONFIG_FSL_RIO=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_XFRM_USER=y -CONFIG_XFRM_SUB_POLICY=y -CONFIG_XFRM_STATISTICS=y -CONFIG_NET_KEY=y -CONFIG_NET_KEY_MIGRATE=y -CONFIG_INET=y -CONFIG_IP_MULTICAST=y -CONFIG_IP_ADVANCED_ROUTER=y -CONFIG_IP_MULTIPLE_TABLES=y -CONFIG_IP_ROUTE_MULTIPATH=y -CONFIG_IP_ROUTE_VERBOSE=y -CONFIG_IP_PNP=y -CONFIG_IP_PNP_DHCP=y -CONFIG_IP_PNP_BOOTP=y -CONFIG_IP_PNP_RARP=y -CONFIG_NET_IPIP=y -CONFIG_IP_MROUTE=y -CONFIG_IP_PIMSM_V1=y -CONFIG_IP_PIMSM_V2=y -CONFIG_INET_AH=y -CONFIG_INET_ESP=y -CONFIG_INET_IPCOMP=y -# CONFIG_INET_LRO is not set -CONFIG_IPV6=y -CONFIG_IP_SCTP=m -CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" -CONFIG_DEVTMPFS=y -CONFIG_DEVTMPFS_MOUNT=y -CONFIG_MTD=y -CONFIG_MTD_CMDLINE_PARTS=y -CONFIG_MTD_BLOCK=y -CONFIG_MTD_CFI=y -CONFIG_MTD_CFI_INTELEXT=y -CONFIG_MTD_CFI_AMDSTD=y -CONFIG_MTD_PHYSMAP_OF=y -CONFIG_MTD_NAND=y -CONFIG_MTD_NAND_FSL_ELBC=y -CONFIG_MTD_NAND_FSL_IFC=y -CONFIG_MTD_SPI_NOR=y -CONFIG_BLK_DEV_LOOP=y -CONFIG_BLK_DEV_RAM=y -CONFIG_BLK_DEV_RAM_SIZE=131072 -CONFIG_BLK_DEV_SD=y -CONFIG_CHR_DEV_ST=y -CONFIG_BLK_DEV_SR=y -CONFIG_CHR_DEV_SG=y -CONFIG_SCSI_LOGGING=y -CONFIG_SCSI_SYM53C8XX_2=y -CONFIG_ATA=y -CONFIG_SATA_AHCI=y -CONFIG_SATA_FSL=y -CONFIG_SATA_SIL24=y -CONFIG_SATA_SIL=y -CONFIG_PATA_SIL680=y -CONFIG_NETDEVICES=y -CONFIG_FSL_PQ_MDIO=y -CONFIG_FSL_XGMAC_MDIO=y -CONFIG_E1000=y -CONFIG_E1000E=y -CONFIG_AT803X_PHY=y -CONFIG_VITESSE_PHY=y -CONFIG_FIXED_PHY=y -CONFIG_MDIO_BUS_MUX_GPIO=y -CONFIG_MDIO_BUS_MUX_MMIOREG=y -# CONFIG_INPUT_MOUSEDEV is not set -# CONFIG_INPUT_KEYBOARD is not set -# CONFIG_INPUT_MOUSE is not set -CONFIG_SERIO_LIBPS2=y -# CONFIG_LEGACY_PTYS is not set -CONFIG_PPC_EPAPR_HV_BYTECHAN=y -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_SERIAL_8250_MANY_PORTS=y -CONFIG_SERIAL_8250_DETECT_IRQ=y -CONFIG_SERIAL_8250_RSA=y -CONFIG_NVRAM=y -CONFIG_I2C=y -CONFIG_I2C_CHARDEV=y -CONFIG_I2C_MPC=y -CONFIG_I2C_MUX=y -CONFIG_I2C_MUX_PCA954x=y -CONFIG_SPI=y -CONFIG_SPI_GPIO=y -CONFIG_SPI_FSL_SPI=y -CONFIG_SPI_FSL_ESPI=y -CONFIG_SENSORS_LM90=y -CONFIG_SENSORS_INA2XX=y -CONFIG_USB_HID=m -CONFIG_USB=y -CONFIG_USB_MON=y -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_EHCI_FSL=y -CONFIG_USB_OHCI_HCD=y -CONFIG_USB_OHCI_HCD_PPC_OF_BE=y -CONFIG_USB_OHCI_HCD_PPC_OF_LE=y -CONFIG_USB_STORAGE=y -CONFIG_MMC=y -CONFIG_MMC_SDHCI=y -CONFIG_EDAC=y -CONFIG_EDAC_MM_EDAC=y -CONFIG_EDAC_MPC85XX=y -CONFIG_RTC_CLASS=y -CONFIG_RTC_DRV_DS1307=y -CONFIG_RTC_DRV_DS1374=y -CONFIG_RTC_DRV_DS3232=y -CONFIG_UIO=y -CONFIG_VIRT_DRIVERS=y -CONFIG_FSL_HV_MANAGER=y -CONFIG_STAGING=y -CONFIG_FSL_CORENET_CF=y -CONFIG_CLK_QORIQ=y -CONFIG_EXT2_FS=y -CONFIG_EXT3_FS=y -# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set -CONFIG_ISO9660_FS=m -CONFIG_JOLIET=y -CONFIG_ZISOFS=y -CONFIG_UDF_FS=m -CONFIG_MSDOS_FS=m -CONFIG_VFAT_FS=y -CONFIG_NTFS_FS=y -CONFIG_PROC_KCORE=y -CONFIG_TMPFS=y -CONFIG_HUGETLBFS=y -CONFIG_JFFS2_FS=y -CONFIG_CRAMFS=y -CONFIG_NFS_FS=y -CONFIG_NFS_V4=y -CONFIG_ROOT_NFS=y -CONFIG_NFSD=m -CONFIG_NLS_CODEPAGE_437=y -CONFIG_NLS_CODEPAGE_850=y -CONFIG_NLS_ISO8859_1=y -CONFIG_NLS_UTF8=m -CONFIG_DEBUG_INFO=y -CONFIG_MAGIC_SYSRQ=y -CONFIG_DEBUG_SHIRQ=y -CONFIG_DETECT_HUNG_TASK=y -CONFIG_RCU_TRACE=y -CONFIG_CRYPTO_NULL=y -CONFIG_CRYPTO_PCBC=m -CONFIG_CRYPTO_MD4=y -CONFIG_CRYPTO_SHA256=y -CONFIG_CRYPTO_SHA512=y -# CONFIG_CRYPTO_ANSI_CPRNG is not set -CONFIG_CRYPTO_DEV_FSL_CAAM=y diff --git a/arch/powerpc/configs/corenet64_misc.config b/arch/powerpc/configs/corenet64_misc.config new file mode 100644 index 0000000..c079055 --- /dev/null +++ b/arch/powerpc/configs/corenet64_misc.config @@ -0,0 +1,16 @@ +CONFIG_BLK_DEV_SR_VENDOR=y +CONFIG_CRC_T10DIF=y +CONFIG_DEBUG_FS=y +CONFIG_DUMMY=y +CONFIG_EEPROM_LEGACY=y +CONFIG_EXPERT=y +CONFIG_FHANDLE=y +CONFIG_FRAME_WARN=1024 +CONFIG_FTL=y +CONFIG_INET_XFRM_MODE_BEET=n +CONFIG_INPUT_FF_MEMLESS=m +CONFIG_IRQ_DOMAIN_DEBUG=y +CONFIG_JFFS2_FS_DEBUG=1 +CONFIG_MTD_UBI=y +CONFIG_PPC_OF_BOOT_TRAMPOLINE=n +CONFIG_UBIFS_FS=y diff --git a/arch/powerpc/configs/corenet64_smp_defconfig b/arch/powerpc/configs/corenet_defconfig similarity index 83% rename from arch/powerpc/configs/corenet64_smp_defconfig rename to arch/powerpc/configs/corenet_defconfig index 33cd1df..89c43ee 100644 --- a/arch/powerpc/configs/corenet64_smp_defconfig +++ b/arch/powerpc/configs/corenet_defconfig @@ -1,23 +1,11 @@ -CONFIG_PPC64=y -CONFIG_PPC_BOOK3E_64=y -CONFIG_ALTIVEC=y -CONFIG_SMP=y -CONFIG_NR_CPUS=24 CONFIG_SYSVIPC=y -CONFIG_FHANDLE=y -CONFIG_IRQ_DOMAIN_DEBUG=y CONFIG_NO_HZ=y CONFIG_HIGH_RES_TIMERS=y CONFIG_BSD_PROCESS_ACCT=y CONFIG_IKCONFIG=y CONFIG_IKCONFIG_PROC=y CONFIG_LOG_BUF_SHIFT=14 -CONFIG_CGROUPS=y -CONFIG_CPUSETS=y -CONFIG_CGROUP_CPUACCT=y -CONFIG_CGROUP_SCHED=y CONFIG_BLK_DEV_INITRD=y -CONFIG_EXPERT=y CONFIG_KALLSYMS_ALL=y CONFIG_MODULES=y CONFIG_MODULE_UNLOAD=y @@ -27,10 +15,7 @@ CONFIG_MODVERSIONS=y CONFIG_PARTITION_ADVANCED=y CONFIG_MAC_PARTITION=y CONFIG_CORENET_GENERIC=y -# CONFIG_PPC_OF_BOOT_TRAMPOLINE is not set CONFIG_BINFMT_MISC=m -CONFIG_MATH_EMULATION=y -CONFIG_MATH_EMULATION_HW_UNIMPLEMENTED=y CONFIG_PCIEPORTBUS=y CONFIG_PCI_MSI=y CONFIG_RAPIDIO=y @@ -55,7 +40,6 @@ CONFIG_IP_MROUTE=y CONFIG_IP_PIMSM_V1=y CONFIG_IP_PIMSM_V2=y CONFIG_INET_ESP=y -# CONFIG_INET_XFRM_MODE_BEET is not set # CONFIG_INET_LRO is not set CONFIG_IPV6=y CONFIG_IP_SCTP=m @@ -65,7 +49,6 @@ CONFIG_DEVTMPFS_MOUNT=y CONFIG_MTD=y CONFIG_MTD_CMDLINE_PARTS=y CONFIG_MTD_BLOCK=y -CONFIG_FTL=y CONFIG_MTD_CFI=y CONFIG_MTD_CFI_INTELEXT=y CONFIG_MTD_CFI_AMDSTD=y @@ -74,20 +57,16 @@ CONFIG_MTD_NAND=y CONFIG_MTD_NAND_FSL_ELBC=y CONFIG_MTD_NAND_FSL_IFC=y CONFIG_MTD_SPI_NOR=y -CONFIG_MTD_UBI=y CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_RAM=y CONFIG_BLK_DEV_RAM_SIZE=131072 -CONFIG_EEPROM_LEGACY=y CONFIG_BLK_DEV_SD=y CONFIG_BLK_DEV_SR=y -CONFIG_BLK_DEV_SR_VENDOR=y CONFIG_CHR_DEV_SG=y CONFIG_ATA=y CONFIG_SATA_FSL=y CONFIG_SATA_SIL24=y CONFIG_NETDEVICES=y -CONFIG_DUMMY=y CONFIG_FSL_PQ_MDIO=y CONFIG_FSL_XGMAC_MDIO=y CONFIG_E1000E=y @@ -95,7 +74,6 @@ CONFIG_VITESSE_PHY=y CONFIG_FIXED_PHY=y CONFIG_MDIO_BUS_MUX_GPIO=y CONFIG_MDIO_BUS_MUX_MMIOREG=y -CONFIG_INPUT_FF_MEMLESS=m # CONFIG_INPUT_MOUSEDEV is not set # CONFIG_INPUT_KEYBOARD is not set # CONFIG_INPUT_MOUSE is not set @@ -131,12 +109,10 @@ CONFIG_RTC_CLASS=y CONFIG_RTC_DRV_DS1307=y CONFIG_RTC_DRV_DS1374=y CONFIG_RTC_DRV_DS3232=y -CONFIG_DMADEVICES=y -CONFIG_FSL_DMA=y CONFIG_VIRT_DRIVERS=y CONFIG_FSL_HV_MANAGER=y -CONFIG_CLK_QORIQ=y CONFIG_FSL_CORENET_CF=y +CONFIG_CLK_QORIQ=y CONFIG_EXT2_FS=y CONFIG_EXT3_FS=y CONFIG_ISO9660_FS=m @@ -150,8 +126,6 @@ CONFIG_PROC_KCORE=y CONFIG_TMPFS=y CONFIG_HUGETLBFS=y CONFIG_JFFS2_FS=y -CONFIG_JFFS2_FS_DEBUG=1 -CONFIG_UBIFS_FS=y CONFIG_NFS_FS=y CONFIG_NFS_V4=y CONFIG_ROOT_NFS=y @@ -160,10 +134,7 @@ CONFIG_NLS_CODEPAGE_437=y CONFIG_NLS_CODEPAGE_850=y CONFIG_NLS_ISO8859_1=y CONFIG_NLS_UTF8=m -CONFIG_CRC_T10DIF=y CONFIG_DEBUG_INFO=y -CONFIG_FRAME_WARN=1024 -CONFIG_DEBUG_FS=y CONFIG_MAGIC_SYSRQ=y CONFIG_DEBUG_SHIRQ=y CONFIG_DETECT_HUNG_TASK=y diff --git a/arch/powerpc/configs/cpu24.config b/arch/powerpc/configs/cpu24.config new file mode 100644 index 0000000..08d2f61 --- /dev/null +++ b/arch/powerpc/configs/cpu24.config @@ -0,0 +1 @@ +CONFIG_NR_CPUS=24 diff --git a/arch/powerpc/configs/cpu8.config b/arch/powerpc/configs/cpu8.config new file mode 100644 index 0000000..8832f89 --- /dev/null +++ b/arch/powerpc/configs/cpu8.config @@ -0,0 +1 @@ +CONFIG_NR_CPUS=8 diff --git a/arch/powerpc/configs/dma.config b/arch/powerpc/configs/dma.config new file mode 100644 index 0000000..f0e66b5 --- /dev/null +++ b/arch/powerpc/configs/dma.config @@ -0,0 +1,2 @@ +CONFIG_DMADEVICES=y +CONFIG_FSL_DMA=y diff --git a/arch/powerpc/configs/i2c.config b/arch/powerpc/configs/i2c.config new file mode 100644 index 0000000..aafb657 --- /dev/null +++ b/arch/powerpc/configs/i2c.config @@ -0,0 +1 @@ +CONFIG_I2C=y diff --git a/arch/powerpc/configs/kvm_e500.config b/arch/powerpc/configs/kvm_e500.config new file mode 100644 index 0000000..615b0a0 --- /dev/null +++ b/arch/powerpc/configs/kvm_e500.config @@ -0,0 +1,2 @@ +CONFIG_KVM_GUEST=y +CONFIG_PPC_QEMU_E500=y diff --git a/arch/powerpc/configs/math_emulation.config b/arch/powerpc/configs/math_emulation.config new file mode 100644 index 0000000..fa2fb66 --- /dev/null +++ b/arch/powerpc/configs/math_emulation.config @@ -0,0 +1,2 @@ +CONFIG_MATH_EMULATION=y +CONFIG_MATH_EMULATION_HW_UNIMPLEMENTED=y diff --git a/arch/powerpc/configs/mpc85xx_smp_defconfig b/arch/powerpc/configs/mpc85xx_basic_defconfig similarity index 97% rename from arch/powerpc/configs/mpc85xx_smp_defconfig rename to arch/powerpc/configs/mpc85xx_basic_defconfig index b6c7111..8cb47f4 100644 --- a/arch/powerpc/configs/mpc85xx_smp_defconfig +++ b/arch/powerpc/configs/mpc85xx_basic_defconfig @@ -1,7 +1,4 @@ -CONFIG_PPC_85xx=y CONFIG_PHYS_64BIT=y -CONFIG_SMP=y -CONFIG_NR_CPUS=8 CONFIG_SYSVIPC=y CONFIG_POSIX_MQUEUE=y CONFIG_AUDIT=y @@ -128,14 +125,11 @@ CONFIG_INPUT_FF_MEMLESS=m CONFIG_SERIO_LIBPS2=y CONFIG_SERIAL_8250=y CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_SERIAL_8250_NR_UARTS=2 -CONFIG_SERIAL_8250_RUNTIME_UARTS=2 CONFIG_SERIAL_8250_MANY_PORTS=y CONFIG_SERIAL_8250_DETECT_IRQ=y CONFIG_SERIAL_8250_RSA=y CONFIG_SERIAL_QE=m CONFIG_NVRAM=y -CONFIG_I2C=y CONFIG_I2C_CHARDEV=y CONFIG_I2C_CPM=m CONFIG_I2C_MPC=y diff --git a/arch/powerpc/configs/mpc85xx_defconfig b/arch/powerpc/configs/mpc85xx_defconfig deleted file mode 100644 index 6ecf7bd..0000000 --- a/arch/powerpc/configs/mpc85xx_defconfig +++ /dev/null @@ -1,252 +0,0 @@ -CONFIG_PPC_85xx=y -CONFIG_PHYS_64BIT=y -CONFIG_SYSVIPC=y -CONFIG_POSIX_MQUEUE=y -CONFIG_AUDIT=y -CONFIG_IRQ_DOMAIN_DEBUG=y -CONFIG_NO_HZ=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_BSD_PROCESS_ACCT=y -CONFIG_IKCONFIG=y -CONFIG_IKCONFIG_PROC=y -CONFIG_LOG_BUF_SHIFT=14 -CONFIG_BLK_DEV_INITRD=y -CONFIG_EXPERT=y -CONFIG_KALLSYMS_ALL=y -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_MODULE_FORCE_UNLOAD=y -CONFIG_MODVERSIONS=y -# CONFIG_BLK_DEV_BSG is not set -CONFIG_PARTITION_ADVANCED=y -CONFIG_MAC_PARTITION=y -CONFIG_C293_PCIE=y -CONFIG_MPC8540_ADS=y -CONFIG_MPC8560_ADS=y -CONFIG_MPC85xx_CDS=y -CONFIG_MPC85xx_MDS=y -CONFIG_MPC8536_DS=y -CONFIG_MPC85xx_DS=y -CONFIG_MPC85xx_RDB=y -CONFIG_P1010_RDB=y -CONFIG_P1022_DS=y -CONFIG_P1022_RDK=y -CONFIG_P1023_RDB=y -CONFIG_SOCRATES=y -CONFIG_KSI8560=y -CONFIG_XES_MPC85xx=y -CONFIG_STX_GP3=y -CONFIG_TQM8540=y -CONFIG_TQM8541=y -CONFIG_TQM8548=y -CONFIG_TQM8555=y -CONFIG_TQM8560=y -CONFIG_SBC8548=y -CONFIG_MVME2500=y -CONFIG_QUICC_ENGINE=y -CONFIG_QE_GPIO=y -CONFIG_HIGHMEM=y -CONFIG_BINFMT_MISC=m -CONFIG_MATH_EMULATION=y -CONFIG_FORCE_MAX_ZONEORDER=12 -CONFIG_PCI=y -CONFIG_PCIEPORTBUS=y -# CONFIG_PCIEASPM is not set -CONFIG_PCI_MSI=y -CONFIG_RAPIDIO=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_XFRM_USER=y -CONFIG_NET_KEY=y -CONFIG_INET=y -CONFIG_IP_MULTICAST=y -CONFIG_IP_ADVANCED_ROUTER=y -CONFIG_IP_MULTIPLE_TABLES=y -CONFIG_IP_ROUTE_MULTIPATH=y -CONFIG_IP_ROUTE_VERBOSE=y -CONFIG_IP_PNP=y -CONFIG_IP_PNP_DHCP=y -CONFIG_IP_PNP_BOOTP=y -CONFIG_IP_PNP_RARP=y -CONFIG_NET_IPIP=y -CONFIG_IP_MROUTE=y -CONFIG_IP_PIMSM_V1=y -CONFIG_IP_PIMSM_V2=y -CONFIG_INET_ESP=y -# CONFIG_INET_XFRM_MODE_BEET is not set -# CONFIG_INET_LRO is not set -CONFIG_IPV6=y -CONFIG_IP_SCTP=m -CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" -CONFIG_DEVTMPFS=y -CONFIG_DEVTMPFS_MOUNT=y -CONFIG_MTD=y -CONFIG_MTD_CMDLINE_PARTS=y -CONFIG_MTD_BLOCK=y -CONFIG_FTL=y -CONFIG_MTD_CFI=y -CONFIG_MTD_CFI_INTELEXT=y -CONFIG_MTD_CFI_AMDSTD=y -CONFIG_MTD_PHYSMAP=y -CONFIG_MTD_PHYSMAP_OF=y -CONFIG_MTD_PLATRAM=y -CONFIG_MTD_M25P80=y -CONFIG_MTD_NAND=y -CONFIG_MTD_NAND_FSL_ELBC=y -CONFIG_MTD_NAND_FSL_IFC=y -CONFIG_MTD_SPI_NOR=y -CONFIG_MTD_UBI=y -CONFIG_BLK_DEV_LOOP=y -CONFIG_BLK_DEV_NBD=y -CONFIG_BLK_DEV_RAM=y -CONFIG_BLK_DEV_RAM_SIZE=131072 -CONFIG_EEPROM_AT24=y -CONFIG_EEPROM_LEGACY=y -CONFIG_BLK_DEV_SD=y -CONFIG_CHR_DEV_ST=y -CONFIG_BLK_DEV_SR=y -CONFIG_CHR_DEV_SG=y -CONFIG_SCSI_LOGGING=y -CONFIG_ATA=y -CONFIG_SATA_AHCI=y -CONFIG_SATA_FSL=y -CONFIG_SATA_SIL24=y -CONFIG_PATA_ALI=y -CONFIG_PATA_VIA=y -CONFIG_NETDEVICES=y -CONFIG_DUMMY=y -CONFIG_FS_ENET=y -CONFIG_UCC_GETH=y -CONFIG_GIANFAR=y -CONFIG_E1000=y -CONFIG_E1000E=y -CONFIG_IGB=y -CONFIG_AT803X_PHY=y -CONFIG_MARVELL_PHY=y -CONFIG_DAVICOM_PHY=y -CONFIG_CICADA_PHY=y -CONFIG_VITESSE_PHY=y -CONFIG_BROADCOM_PHY=y -CONFIG_FIXED_PHY=y -CONFIG_INPUT_FF_MEMLESS=m -# CONFIG_INPUT_MOUSEDEV is not set -# CONFIG_INPUT_KEYBOARD is not set -# CONFIG_INPUT_MOUSE is not set -CONFIG_SERIO_LIBPS2=y -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_SERIAL_8250_NR_UARTS=6 -CONFIG_SERIAL_8250_RUNTIME_UARTS=6 -CONFIG_SERIAL_8250_MANY_PORTS=y -CONFIG_SERIAL_8250_DETECT_IRQ=y -CONFIG_SERIAL_8250_RSA=y -CONFIG_SERIAL_QE=m -CONFIG_NVRAM=y -CONFIG_I2C_CHARDEV=y -CONFIG_I2C_CPM=m -CONFIG_I2C_MPC=y -CONFIG_SPI=y -CONFIG_SPI_FSL_SPI=y -CONFIG_SPI_FSL_ESPI=y -CONFIG_GPIO_MPC8XXX=y -CONFIG_SENSORS_LM90=y -CONFIG_FB=y -CONFIG_FB_FSL_DIU=y -# CONFIG_VGA_CONSOLE is not set -CONFIG_FRAMEBUFFER_CONSOLE=y -CONFIG_SOUND=y -CONFIG_SND=y -# CONFIG_SND_SUPPORT_OLD_API is not set -# CONFIG_SND_DRIVERS is not set -CONFIG_SND_INTEL8X0=y -# CONFIG_SND_PPC is not set -# CONFIG_SND_USB is not set -CONFIG_SND_SOC=y -CONFIG_SND_POWERPC_SOC=y -CONFIG_HID_A4TECH=y -CONFIG_HID_APPLE=y -CONFIG_HID_BELKIN=y -CONFIG_HID_CHERRY=y -CONFIG_HID_CHICONY=y -CONFIG_HID_CYPRESS=y -CONFIG_HID_EZKEY=y -CONFIG_HID_GYRATION=y -CONFIG_HID_LOGITECH=y -CONFIG_HID_MICROSOFT=y -CONFIG_HID_MONTEREY=y -CONFIG_HID_PANTHERLORD=y -CONFIG_HID_PETALYNX=y -CONFIG_HID_SAMSUNG=y -CONFIG_HID_SUNPLUS=y -CONFIG_USB=y -CONFIG_USB_MON=y -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_EHCI_FSL=y -CONFIG_USB_OHCI_HCD=y -CONFIG_USB_OHCI_HCD_PPC_OF_BE=y -CONFIG_USB_OHCI_HCD_PPC_OF_LE=y -CONFIG_USB_STORAGE=y -CONFIG_MMC=y -CONFIG_MMC_SDHCI=y -CONFIG_MMC_SDHCI_PLTFM=y -CONFIG_MMC_SDHCI_OF_ESDHC=y -CONFIG_EDAC=y -CONFIG_EDAC_MM_EDAC=y -CONFIG_EDAC_MPC85XX=y -CONFIG_RTC_CLASS=y -CONFIG_RTC_DRV_DS1307=y -CONFIG_RTC_DRV_DS1374=y -CONFIG_RTC_DRV_DS3232=y -CONFIG_RTC_DRV_CMOS=y -CONFIG_DMADEVICES=y -CONFIG_FSL_DMA=y -CONFIG_EXT2_FS=y -CONFIG_EXT3_FS=y -# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set -CONFIG_ISO9660_FS=m -CONFIG_JOLIET=y -CONFIG_ZISOFS=y -CONFIG_UDF_FS=m -CONFIG_MSDOS_FS=m -CONFIG_VFAT_FS=y -CONFIG_NTFS_FS=y -CONFIG_PROC_KCORE=y -CONFIG_TMPFS=y -CONFIG_HUGETLBFS=y -CONFIG_ADFS_FS=m -CONFIG_AFFS_FS=m -CONFIG_HFS_FS=m -CONFIG_HFSPLUS_FS=m -CONFIG_BEFS_FS=m -CONFIG_BFS_FS=m -CONFIG_EFS_FS=m -CONFIG_JFFS2_FS=y -CONFIG_JFFS2_FS_DEBUG=1 -CONFIG_UBIFS_FS=y -CONFIG_CRAMFS=y -CONFIG_VXFS_FS=m -CONFIG_HPFS_FS=m -CONFIG_QNX4FS_FS=m -CONFIG_SYSV_FS=m -CONFIG_UFS_FS=m -CONFIG_NFS_FS=y -CONFIG_NFS_V4=y -CONFIG_ROOT_NFS=y -CONFIG_NFSD=y -CONFIG_NLS_CODEPAGE_437=y -CONFIG_NLS_CODEPAGE_850=y -CONFIG_NLS_ISO8859_1=y -CONFIG_CRC_T10DIF=y -CONFIG_FONTS=y -CONFIG_FONT_8x8=y -CONFIG_FONT_8x16=y -CONFIG_DEBUG_INFO=y -CONFIG_DEBUG_FS=y -CONFIG_DETECT_HUNG_TASK=y -CONFIG_CRYPTO_PCBC=m -CONFIG_CRYPTO_SHA256=y -CONFIG_CRYPTO_SHA512=y -# CONFIG_CRYPTO_ANSI_CPRNG is not set -CONFIG_CRYPTO_DEV_FSL_CAAM=y -CONFIG_CRYPTO_DEV_TALITOS=y diff --git a/arch/powerpc/configs/mpc85xx_misc.config b/arch/powerpc/configs/mpc85xx_misc.config new file mode 100644 index 0000000..3f554d5 --- /dev/null +++ b/arch/powerpc/configs/mpc85xx_misc.config @@ -0,0 +1,11 @@ +CONFIG_BROADCOM_PHY=y +CONFIG_E1000=y +CONFIG_EDAC_MPC85XX=y +CONFIG_IGB=y +CONFIG_MTD_M25P80=y +CONFIG_MTD_PHYSMAP=y +CONFIG_MTD_PLATRAM=y +CONFIG_MVME2500=y +CONFIG_PATA_VIA=y +CONFIG_PCIEASPM=n +CONFIG_PCIEPORTBUS=y diff --git a/arch/powerpc/configs/smp.config b/arch/powerpc/configs/smp.config new file mode 100644 index 0000000..1cbf7ec --- /dev/null +++ b/arch/powerpc/configs/smp.config @@ -0,0 +1 @@ +CONFIG_SMP=y diff --git a/arch/powerpc/configs/uart2.config b/arch/powerpc/configs/uart2.config new file mode 100644 index 0000000..ed35fa5 --- /dev/null +++ b/arch/powerpc/configs/uart2.config @@ -0,0 +1,2 @@ +CONFIG_SERIAL_8250_NR_UARTS=2 +CONFIG_SERIAL_8250_RUNTIME_UARTS=2 diff --git a/arch/powerpc/configs/uart6.config b/arch/powerpc/configs/uart6.config new file mode 100644 index 0000000..c7150c9 --- /dev/null +++ b/arch/powerpc/configs/uart6.config @@ -0,0 +1,2 @@ +CONFIG_SERIAL_8250_NR_UARTS=6 +CONFIG_SERIAL_8250_RUNTIME_UARTS=6 -- 1.9.3 _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev