From patchwork Tue Dec 6 12:38:45 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 9462525 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9051860231 for ; Tue, 6 Dec 2016 12:52:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 83E292836D for ; Tue, 6 Dec 2016 12:52:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 756EC28391; Tue, 6 Dec 2016 12:52:08 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C78572838C for ; Tue, 6 Dec 2016 12:52:07 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1cEFCN-00049j-NH; Tue, 06 Dec 2016 12:50:19 +0000 Received: from mailout4.samsung.com ([203.254.224.34]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cEF3B-0002Ky-IU for linux-arm-kernel@lists.infradead.org; Tue, 06 Dec 2016 12:40:53 +0000 Received: from epcpsbgm1new.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OHR02AD6KK0P0B0@mailout4.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 06 Dec 2016 21:40:48 +0900 (KST) X-AuditID: cbfee61a-f79916d0000062de-04-5846b1cf5e71 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1new.samsung.com (EPCPMTA) with SMTP id C0.E4.25310.FC1B6485; Tue, 6 Dec 2016 21:40:48 +0900 (KST) Received: from AMDC3058.DIGITAL.local ([106.120.53.102]) by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OHR00KOOKH1JQ10@mmp1.samsung.com>; Tue, 06 Dec 2016 21:40:47 +0900 (KST) From: Bartlomiej Zolnierkiewicz To: linux-arm-kernel@lists.infradead.org Subject: [RFC PATCH 10/23] arm: use kconfig fragments for ARCH_W90X900 defconfigs Date: Tue, 06 Dec 2016 13:38:45 +0100 Message-id: <1481027938-31831-11-git-send-email-b.zolnierkie@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1481027938-31831-1-git-send-email-b.zolnierkie@samsung.com> References: <1481027938-31831-1-git-send-email-b.zolnierkie@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrBLMWRmVeSWpSXmKPExsVy+t9jAd0LG90iDDaUW/yddIzdYuOM9awW xy+8YrfY9Pgaq8XlXXPYLG5f5rV4Or3O4tT1z2wOHB4tzT1sHr9/TWL02DnrLrvH5iX1HldO NLF69G1ZxejxeZNcAHuUm01GamJKapFCal5yfkpmXrqtUmiIm66FkkJeYm6qrVKErm9IkJJC WWJOKZBnZIAGHJwD3IOV9O0S3DJWbvrAUnBBv2LTrjb2BsaHml2MnBwSAiYSXZ8/sEHYYhIX 7q0Hsrk4hASWMkr82NbOBOH8YpRoarvNDlLFJmAlMbF9FSOILSKgITGl6zE7SBGzwGtGidV/ VoGNEhYIlvi/cRZzFyMHB4uAqkTrYbBtvAKeEi+2TGGB2CYncfLYZFYQmxMofn3LGrCZQgIe EjuvfmefwMi7gJFhFaNEakFyQXFSeq5hXmq5XnFibnFpXrpecn7uJkZwqD+T2sF4cJf7IUYB DkYlHt4PDa4RQqyJZcWVuYcYJTiYlUR4129wixDiTUmsrEotyo8vKs1JLT7EaAp010RmKdHk fGAc5pXEG5qYm5gbG1iYW1qaGCmJ8zbOfhYuJJCeWJKanZpakFoE08fEwSnVwJi6pm9yreaZ df18m68w7vymEuKw1nhn9AOz5jk8kmx57YEHJ1sb5cj+tngqWvrXRObe9sXpoWevTardZv06 hqVs0f9f++urDlh6HUuxNt/1eV+P0GxbpZ2mxw7oPvNMd23nbsxU/+1tqfr0PUPQufklOWkO +fOTl3jHbp00L2XruYq9Z9Ujq5VYijMSDbWYi4oTATqLbYeLAgAA X-MTR: 20000000000000000@CPGS X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161206_044050_085717_D3CFC4D9 X-CRM114-Status: GOOD ( 14.82 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Russell King , Arnd Bergmann , Wan ZongShun , b.zolnierkie@samsung.com, linux-kernel@vger.kernel.org, Olof Johansson , Cyril Bur MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Replace nuc9[5,6]0_defconfig-s with a Makefile target using merge_config. The patch was verified with doing: $ make nuc9[5,6]0_defconfig $ make savedefconfig and comparing resulting defconfig files (before/after the patch). Cc: Wan ZongShun Cc: Cyril Bur Signed-off-by: Bartlomiej Zolnierkiewicz --- arch/arm/Makefile | 8 +++++ arch/arm/configs/nuc950.config | 14 +++++++++ arch/arm/configs/nuc950_defconfig | 63 --------------------------------------- arch/arm/configs/nuc960.config | 5 ++++ arch/arm/configs/nuc960_defconfig | 54 --------------------------------- 5 files changed, 27 insertions(+), 117 deletions(-) create mode 100644 arch/arm/configs/nuc950.config delete mode 100644 arch/arm/configs/nuc950_defconfig create mode 100644 arch/arm/configs/nuc960.config delete mode 100644 arch/arm/configs/nuc960_defconfig diff --git a/arch/arm/Makefile b/arch/arm/Makefile index 5d965f8..d4def05 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile @@ -398,6 +398,14 @@ PHONY += spear6xx_defconfig spear6xx_defconfig: $(call merge_into_defconfig,spear_basic_defconfig,spear6xx) +PHONY += nuc950_defconfig +nuc950_defconfig: + $(call merge_into_defconfig,nuc910_defconfig,nuc950) + +PHONY += nuc960_defconfig +nuc960_defconfig: + $(call merge_into_defconfig,nuc910_defconfig,nuc960) + PHONY += vdso_install vdso_install: ifeq ($(CONFIG_VDSO),y) diff --git a/arch/arm/configs/nuc950.config b/arch/arm/configs/nuc950.config new file mode 100644 index 0000000..83824ca --- /dev/null +++ b/arch/arm/configs/nuc950.config @@ -0,0 +1,14 @@ +CONFIG_NO_HZ=y +CONFIG_HIGH_RES_TIMERS=y +# CONFIG_MACH_W90P910EVB is not set +CONFIG_MACH_W90P950EVB=y +CONFIG_BINFMT_MISC=y +CONFIG_FB=y +CONFIG_FB_NUC900=y +CONFIG_GPM1040A0_320X240=y +CONFIG_FRAMEBUFFER_CONSOLE=y +CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y +CONFIG_LOGO=y +# CONFIG_LOGO_LINUX_MONO is not set +# CONFIG_LOGO_LINUX_VGA16 is not set +CONFIG_FONTS=y diff --git a/arch/arm/configs/nuc950_defconfig b/arch/arm/configs/nuc950_defconfig deleted file mode 100644 index f30a14a..0000000 --- a/arch/arm/configs/nuc950_defconfig +++ /dev/null @@ -1,63 +0,0 @@ -# CONFIG_LOCALVERSION_AUTO is not set -CONFIG_SYSVIPC=y -CONFIG_NO_HZ=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_BSD_PROCESS_ACCT=y -CONFIG_USER_NS=y -CONFIG_RELAY=y -CONFIG_BLK_DEV_INITRD=y -CONFIG_SLAB=y -CONFIG_PARTITION_ADVANCED=y -CONFIG_ARCH_W90X900=y -# CONFIG_MACH_W90P910EVB is not set -CONFIG_MACH_W90P950EVB=y -CONFIG_PREEMPT=y -CONFIG_AEABI=y -CONFIG_CMDLINE="root=/dev/ram0 console=ttyS0,115200n8 rdinit=/sbin/init mem=64M" -CONFIG_KEXEC=y -CONFIG_BINFMT_MISC=y -CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" -CONFIG_MTD=y -CONFIG_MTD_BLOCK=y -CONFIG_MTD_CFI=y -CONFIG_MTD_CFI_AMDSTD=y -CONFIG_MTD_PHYSMAP=y -CONFIG_BLK_DEV_RAM=y -CONFIG_BLK_DEV_RAM_SIZE=16384 -CONFIG_SCSI=y -# CONFIG_SCSI_PROC_FS is not set -CONFIG_BLK_DEV_SD=y -# CONFIG_SCSI_LOWLEVEL is not set -# CONFIG_INPUT_MOUSEDEV_PSAUX is not set -# CONFIG_INPUT_KEYBOARD is not set -# CONFIG_INPUT_MOUSE is not set -# CONFIG_SERIO is not set -# CONFIG_LEGACY_PTYS is not set -# CONFIG_DEVKMEM is not set -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_SERIAL_8250_NR_UARTS=1 -CONFIG_SERIAL_8250_RUNTIME_UARTS=1 -# CONFIG_HW_RANDOM is not set -# CONFIG_HWMON is not set -CONFIG_FB=y -CONFIG_FB_NUC900=y -CONFIG_GPM1040A0_320X240=y -CONFIG_FRAMEBUFFER_CONSOLE=y -CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y -CONFIG_LOGO=y -# CONFIG_LOGO_LINUX_MONO is not set -# CONFIG_LOGO_LINUX_VGA16 is not set -CONFIG_USB=y -CONFIG_USB_MON=y -CONFIG_USB_STORAGE=y -# CONFIG_DNOTIFY is not set -CONFIG_TMPFS=y -CONFIG_TMPFS_POSIX_ACL=y -CONFIG_ROMFS_FS=y -CONFIG_NLS_CODEPAGE_437=y -CONFIG_NLS_ISO8859_1=y -# CONFIG_ENABLE_WARN_DEPRECATED is not set -# CONFIG_ENABLE_MUST_CHECK is not set -CONFIG_DEBUG_FS=y -CONFIG_FONTS=y diff --git a/arch/arm/configs/nuc960.config b/arch/arm/configs/nuc960.config new file mode 100644 index 0000000..960f587 --- /dev/null +++ b/arch/arm/configs/nuc960.config @@ -0,0 +1,5 @@ +CONFIG_NO_HZ=y +CONFIG_HIGH_RES_TIMERS=y +# CONFIG_MACH_W90P910EVB is not set +CONFIG_MACH_W90N960EVB=y +CONFIG_BINFMT_MISC=y diff --git a/arch/arm/configs/nuc960_defconfig b/arch/arm/configs/nuc960_defconfig deleted file mode 100644 index c38c79f..0000000 --- a/arch/arm/configs/nuc960_defconfig +++ /dev/null @@ -1,54 +0,0 @@ -# CONFIG_LOCALVERSION_AUTO is not set -CONFIG_SYSVIPC=y -CONFIG_NO_HZ=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_BSD_PROCESS_ACCT=y -CONFIG_USER_NS=y -CONFIG_RELAY=y -CONFIG_BLK_DEV_INITRD=y -CONFIG_SLAB=y -CONFIG_PARTITION_ADVANCED=y -CONFIG_ARCH_W90X900=y -# CONFIG_MACH_W90P910EVB is not set -CONFIG_MACH_W90N960EVB=y -CONFIG_PREEMPT=y -CONFIG_AEABI=y -CONFIG_CMDLINE="root=/dev/ram0 console=ttyS0,115200n8 rdinit=/sbin/init mem=64M" -CONFIG_KEXEC=y -CONFIG_BINFMT_MISC=y -CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" -CONFIG_MTD=y -CONFIG_MTD_BLOCK=y -CONFIG_MTD_CFI=y -CONFIG_MTD_CFI_AMDSTD=y -CONFIG_MTD_PHYSMAP=y -CONFIG_BLK_DEV_RAM=y -CONFIG_BLK_DEV_RAM_SIZE=16384 -CONFIG_SCSI=y -# CONFIG_SCSI_PROC_FS is not set -CONFIG_BLK_DEV_SD=y -# CONFIG_SCSI_LOWLEVEL is not set -# CONFIG_INPUT_MOUSEDEV_PSAUX is not set -# CONFIG_INPUT_KEYBOARD is not set -# CONFIG_INPUT_MOUSE is not set -# CONFIG_SERIO is not set -# CONFIG_LEGACY_PTYS is not set -# CONFIG_DEVKMEM is not set -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_SERIAL_8250_NR_UARTS=1 -CONFIG_SERIAL_8250_RUNTIME_UARTS=1 -# CONFIG_HW_RANDOM is not set -# CONFIG_HWMON is not set -CONFIG_USB=y -CONFIG_USB_MON=y -CONFIG_USB_STORAGE=y -# CONFIG_DNOTIFY is not set -CONFIG_TMPFS=y -CONFIG_TMPFS_POSIX_ACL=y -CONFIG_ROMFS_FS=y -CONFIG_NLS_CODEPAGE_437=y -CONFIG_NLS_ISO8859_1=y -# CONFIG_ENABLE_WARN_DEPRECATED is not set -# CONFIG_ENABLE_MUST_CHECK is not set -CONFIG_DEBUG_FS=y