From patchwork Fri Apr 18 22:19:54 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 4018861 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 40F579F369 for ; Fri, 18 Apr 2014 22:29:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7052E202E6 for ; Fri, 18 Apr 2014 22:29:01 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A49A6202D1 for ; Fri, 18 Apr 2014 22:29:00 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WbHFI-0005cj-4j; Fri, 18 Apr 2014 22:26:56 +0000 Received: from mail-oa0-x233.google.com ([2607:f8b0:4003:c02::233]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WbHFE-0004lz-U0 for linux-arm-kernel@lists.infradead.org; Fri, 18 Apr 2014 22:26:53 +0000 Received: by mail-oa0-f51.google.com with SMTP id i4so2275617oah.10 for ; Fri, 18 Apr 2014 15:26:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=c4Q5Lcv5EnJrs/+/0YOESsinDmCyPxyazU4+yOGnjpk=; b=czak+j6MMkwsAqPOnt7FJKuQjVUfu0oNK635+7/HtbFo9V7H67dgvxAap/wBw2e0Jo jLwDaLb9MggJ/wjnu+olZfu1hqNaL8LeIY9ZUYaB1Ev/6nN98Jlne5OXkxSo/hq5rsq/ QMPXxDxfHxV5F9TAw6Rqn9sDT3f7Awt67vvUfJ3GBhS2d3ODHxRy3UPMjS4DY3x5+CZX uFDq/+fo+3GDWQQ8DM1W5T43pE+zauQmWIBkoDck9yr3+IkfZvetFq2LpdQdhG083YvA SsLCWESWTdIfmBrS5wxTaTZLrO1FQutnonHsL+9Ydns5iCZyHgXohA9dNZY9yJOBQ7qX cj2Q== X-Received: by 10.182.24.226 with SMTP id x2mr19144921obf.13.1397859617057; Fri, 18 Apr 2014 15:20:17 -0700 (PDT) Received: from localhost.localdomain (72-48-77-163.dyn.grandenetworks.net. [72.48.77.163]) by mx.google.com with ESMTPSA id cq1sm131597992oeb.4.2014.04.18.15.20.15 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 18 Apr 2014 15:20:16 -0700 (PDT) From: Rob Herring To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Subject: [PATCH v2 1/7] x86: move FIX_EARLYCON_MEM kconfig into x86 Date: Fri, 18 Apr 2014 17:19:54 -0500 Message-Id: <1397859600-11507-2-git-send-email-robherring2@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1397859600-11507-1-git-send-email-robherring2@gmail.com> References: <1397859600-11507-1-git-send-email-robherring2@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140418_152653_021508_744E6FB5 X-CRM114-Status: GOOD ( 12.03 ) X-Spam-Score: 0.1 (/) Cc: Rob Herring , x86@kernel.org, Russell King , Arnd Bergmann , Greg Kroah-Hartman , "H. Peter Anvin" , Will Deacon , Ingo Molnar , Catalin Marinas , Thomas Gleixner , Jiri Slaby X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Rob Herring In preparation to support FIX_EARLYCON_MEM on other arches, make the option per arch. Signed-off-by: Rob Herring Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: x86@kernel.org Cc: Greg Kroah-Hartman Cc: Jiri Slaby --- arch/x86/Kconfig | 3 +++ drivers/tty/serial/8250/Kconfig | 5 ----- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 25d2c6f..0fb6cfd 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -261,6 +261,9 @@ config ARCH_HWEIGHT_CFLAGS config ARCH_SUPPORTS_UPROBES def_bool y +config FIX_EARLYCON_MEM + def_bool y + source "init/Kconfig" source "kernel/Kconfig.freezer" diff --git a/drivers/tty/serial/8250/Kconfig b/drivers/tty/serial/8250/Kconfig index 2332991..91f1d83 100644 --- a/drivers/tty/serial/8250/Kconfig +++ b/drivers/tty/serial/8250/Kconfig @@ -90,11 +90,6 @@ config SERIAL_8250_CONSOLE If unsure, say N. -config FIX_EARLYCON_MEM - bool - depends on X86 - default y - config SERIAL_8250_GSC tristate depends on SERIAL_8250 && GSC