Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5440902ybe; Tue, 10 Sep 2019 03:50:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqwFbZk+XGWikWp3RpbbohcNrcypcwtdKfgOsE3AVuuZqUT72CGpc36ovDG4Rp/5fNq6zsaG X-Received: by 2002:a17:906:244d:: with SMTP id a13mr23544745ejb.41.1568112622018; Tue, 10 Sep 2019 03:50:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568112622; cv=none; d=google.com; s=arc-20160816; b=R/dhJjzPcBsKPDng8njdINXRIMBJPSAEOKLSbj19cVCirpJrsIKpF8SRPfuRFWWpMB 2BnGRnngdAfb6970Y0CBvRbvCmcoVrr4WoEMY0m6Ng8e1ZPkjxKDOqjCvVFHDlsQhiJe Vgz37cO6+mGEuaWDyHGaUPyoiM+WRG6S7gOJ/ezCZRMYgmP4ojDK7ISmZre+kLvDRu+J 78KjT4Pl+xVECOdj+z/IHnXWk1ktuwh75nPnNCj7FJM24bLDl45s/sVFHD5Ox2aNVQaK gMY9oCuQ6hwfYSfff00eXTENpZLS2HFZJVPWUH7zb9tpYOChbI9PN/+9hkNV79YbPXe4 XsWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=fIGfMlrxJV5LsPD/0GOyEkA6JJ43g2NcxaloY4HpG0M=; b=ibAIpT8zBWisClVU2A6RMDaXwJMNGmzAOjFJznIewUjluK2NjZ5GCDe0ecEtgYKKmK JvD88nb/QaHCV1YDEFMWuek284Zey/1UtLn7qZjK2hzv7PdIYwkcvLOuUSdvClZgEA6H 1Q5LM+g8+nwzLc1nMwFq7+FweQciF/Gt0igFU1ksffwS2RfW2vey0eEbkcZejfrFKa7s Sz3Q5+kngl0f1MQTU2XTxPcSMHywaT9zOi1OzyEy1nBC9t1Us2cmlwka2vOpIAokmxzY gtfqCuFlLqEwPaDV9jEq3ZzgT2s4/V47OBLMvAzychjXKZrRPe8k/hAHPYWHVIn+PLgq ayKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=Pms1SD+d; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cd25si9017334ejb.383.2019.09.10.03.49.58; Tue, 10 Sep 2019 03:50:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=Pms1SD+d; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2393197AbfIJF73 (ORCPT + 99 others); Tue, 10 Sep 2019 01:59:29 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:43756 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730117AbfIJF72 (ORCPT ); Tue, 10 Sep 2019 01:59:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=fIGfMlrxJV5LsPD/0GOyEkA6JJ43g2NcxaloY4HpG0M=; b=Pms1SD+dyyIaw6SRkOF4c6iO4 lcMmT2URpL21DKmeVp6SfzrfceFPYvotTK/2UWo7RXWv89qtZDTgIMhvdF34xf1WIEZAgnRwcPRJw USkGPbRn3gJns6zoyz5NgYHUgJoNiy1PHjEDs/WDlXaKQI0sMvfc/LkGPndJV/H76pBOtlR2clFb/ g49DsmWumNLCDUBsf943t7H9dourO/VKW09emXKV7o690l9PKRgyry2oOUr8rb+KvTCV5BQFtnNdp 9YCjEphyWjA2VMHowPV+UI3jeAQZludF+ZSTUkzsYOzwsYzwpGak0zuuOOuoEO7LV/wlPyXCrwPrN D8nSf690g==; Received: from [2001:4bb8:180:57ff:412:4333:4bf9:9db2] (helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux)) id 1i7ZBV-0001Vn-4L; Tue, 10 Sep 2019 05:59:25 +0000 From: Christoph Hellwig To: gregkh@linuxfoundation.org, jslaby@suse.com Cc: paul.walmsley@sifive.com, linux-serial@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] serial/sifive: select SERIAL_EARLYCON Date: Tue, 10 Sep 2019 07:59:23 +0200 Message-Id: <20190910055923.28384-1-hch@lst.de> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The sifive serial driver implements earlycon support, but unless another driver is built in that supports earlycon support it won't be usable. Explicitly select SERIAL_EARLYCON instead. Signed-off-by: Christoph Hellwig --- drivers/tty/serial/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig index 530cb966092f..6b77a72278e3 100644 --- a/drivers/tty/serial/Kconfig +++ b/drivers/tty/serial/Kconfig @@ -1075,6 +1075,7 @@ config SERIAL_SIFIVE_CONSOLE bool "Console on SiFive UART" depends on SERIAL_SIFIVE=y select SERIAL_CORE_CONSOLE + select SERIAL_EARLYCON help Select this option if you would like to use a SiFive UART as the system console. -- 2.20.1