From patchwork Fri Mar 21 21:08:41 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 3876461 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 0ED13BF540 for ; Fri, 21 Mar 2014 21:12:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3202420212 for ; Fri, 21 Mar 2014 21:12:27 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (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 4229720203 for ; Fri, 21 Mar 2014 21:12:26 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WR6iQ-0004e6-UC; Fri, 21 Mar 2014 21:11:00 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WR6i9-00025x-Um; Fri, 21 Mar 2014 21:10:41 +0000 Received: from mail-ob0-x22d.google.com ([2607:f8b0:4003:c01::22d]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WR6ha-000204-SU for linux-arm-kernel@lists.infradead.org; Fri, 21 Mar 2014 21:10:09 +0000 Received: by mail-ob0-f173.google.com with SMTP id gq1so3122927obb.18 for ; Fri, 21 Mar 2014 14:09:43 -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=nVTMARN9imRMKe/HeYZHJrD2dIa3XY9MW+zWvs1Qoto=; b=YNeKyjuJPkuZIFB1TN2f2WIKxOxVFjMqgX/hHYm+T4sg48bDu6Up8l1WneOALE5OGo RjUFt2ZB3WfpMz+DHcVmMHWE/G9msKrxJxRCIYENFEC6uCUVtWyIlYNwZDRTDBrTMYDO oyTQAPeRGxZmFl/ffWt4np4dqHPdlIUix/kopuHrGK8GRmH+Z0IDr1KfU6iI+SFkMTiQ 7795E85N8PsvAmxKl0W9oefJZxn1KXk0Ulz9d62QyN8MV2Y2m9Rxrvkrz90OUTjce55A 1tDET4eo1vvlmlnMNPOQKXIsEEWmMaxocG3nDw2vjxAkJDtm00WJGQK4iOjLawe5J7dj 9FDw== X-Received: by 10.182.225.137 with SMTP id rk9mr13662851obc.51.1395436180854; Fri, 21 Mar 2014 14:09:40 -0700 (PDT) Received: from localhost.localdomain (72-48-77-163.dyn.grandenetworks.net. [72.48.77.163]) by mx.google.com with ESMTPSA id tz6sm9859086obc.10.2014.03.21.14.09.39 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 21 Mar 2014 14:09:40 -0700 (PDT) From: Rob Herring To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Subject: [PATCH 1/8] x86: move FIX_EARLYCON_MEM kconfig into x86 Date: Fri, 21 Mar 2014 16:08:41 -0500 Message-Id: <1395436128-11244-2-git-send-email-robherring2@gmail.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1395436128-11244-1-git-send-email-robherring2@gmail.com> References: <1395436128-11244-1-git-send-email-robherring2@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140321_171007_023702_9451CE1F X-CRM114-Status: GOOD ( 13.63 ) X-Spam-Score: -1.8 (-) Cc: Rob Herring , Russell King , Arnd Bergmann , Greg Kroah-Hartman , x86@kernel.org, Will Deacon , Ingo Molnar , "H. Peter Anvin" , 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=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, 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 9c0a657..600046c 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