From patchwork Thu Jan 25 11:05:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Graf X-Patchwork-Id: 125815 Delivered-To: patch@linaro.org Received: by 10.46.66.141 with SMTP id h13csp1041033ljf; Thu, 25 Jan 2018 03:18:53 -0800 (PST) X-Google-Smtp-Source: AH8x226XPwQLdlpDNFu3nE/JKVuUOqRdGhu2JFtNKIOSob0l97RLf5AZVCP569FCdKyGIdG7ilfc X-Received: by 10.80.144.102 with SMTP id z35mr27965035edz.235.1516879133631; Thu, 25 Jan 2018 03:18:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516879133; cv=none; d=google.com; s=arc-20160816; b=MW5vN89W3+j4Z7WPi/l+0o+yFbvEJKhguTPJ09D538qKYSKJk/nXzanVJS1GUmN4/L LsCfc0bp/0aVJRcHekwVQSkCikEwJ4VZmG2igXMNr3bYvYVInBLVIJTxGEsziVsefiYG pmRria+k34nboSpajnx+eiFf/SQPf7b6pAm2KnKL9T6uwWgrjVy7X0GR1sQqd9Ug4bYa Ojw3dWFU7kbhY5pQSFOFVD832eAhjY2uv9BFJYk4vWhh5qRtYD4jwKoU14M1TgNfcS28 YZVgs51TCZm5ujTTdWDZEFCQ76fu8BNQ+6nHiwwxEuEpXtcAyN1OTzc8WHDxUfa6mRU/ YeqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:arc-authentication-results; bh=HGmL1Jh8cnTp7/R1ZbAQ4WkStFkzWt8ATsE8iUYbxgM=; b=yjcYK5Lp9T/OqjPEB2zbjT/RTDadAkBhQbdH+0rKhzpximr/oeg7eY1WhbmOJNIQSr Ja0h6lIrg8/1LRP9oQeA4ttzNftnN3tmrh6p4jlhGr/mydixy4xW21YkNEdmRCSy7/8k OvpsCd4Y9SXMfMiFZ6DPQBKhnXJz4T5cRYmZBho/JV/p9lZbBf1XgYhtEf1zqaElqkH/ ASyvY/4iyO7PcTBhI0ks7iFyUVVr2Keebu3ArQLZEpwirSeTOfYV1hI4+2qO9NFbiMtw VjSMsvpu5S9F2e7d1Vq3uwWaz9c1VptLCzcS3YyHufQoVTcz4WEXq3TnIo27khIhnxgb epuQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id 64si1035397edj.77.2018.01.25.03.18.53; Thu, 25 Jan 2018 03:18:53 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id 23ECEC2241B; Thu, 25 Jan 2018 11:12:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 67F90C22400; Thu, 25 Jan 2018 11:11:40 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 2DB84C22421; Thu, 25 Jan 2018 11:05:59 +0000 (UTC) Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by lists.denx.de (Postfix) with ESMTPS id 254B0C223F2 for ; Thu, 25 Jan 2018 11:05:59 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id E6660AE01; Thu, 25 Jan 2018 11:05:58 +0000 (UTC) From: Alexander Graf To: u-boot@lists.denx.de Date: Thu, 25 Jan 2018 12:05:53 +0100 Message-Id: <20180125110556.76352-13-agraf@suse.de> X-Mailer: git-send-email 2.12.3 In-Reply-To: <20180125110556.76352-1-agraf@suse.de> References: <20180125110556.76352-1-agraf@suse.de> Cc: Tom Rini Subject: [U-Boot] [PATCH v3 12/15] bcm2835_mu_serial: Convert to Kconfig X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Setting config options using headers is deprecated. This patch converts the BCM2835 Mini-UART to Kconfig. Signed-off-by: Alexander Graf --- drivers/serial/Kconfig | 7 +++++++ include/configs/rpi.h | 3 --- scripts/config_whitelist.txt | 1 - 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig index 4167683885..72281a7b64 100644 --- a/drivers/serial/Kconfig +++ b/drivers/serial/Kconfig @@ -388,6 +388,13 @@ config ATMEL_USART configured in the device tree, and input clock frequency can be got from the clk node. +config BCM283X_MU_SERIAL + bool "Support for BCM283x Mini-UART" + depends on DM_SERIAL && ARCH_BCM283X + default y + help + Select this to enable Mini-UART support on BCM283X family of SoCs. + config BCM6345_SERIAL bool "Support for BCM6345 UART" depends on DM_SERIAL && ARCH_BMIPS diff --git a/include/configs/rpi.h b/include/configs/rpi.h index 5ffe98015f..f2d3646753 100644 --- a/include/configs/rpi.h +++ b/include/configs/rpi.h @@ -75,9 +75,6 @@ #define CONFIG_MISC_INIT_R #endif -/* Console UART, can be configured dynamically in config.txt */ -#define CONFIG_BCM283X_MU_SERIAL - /* Console configuration */ #define CONFIG_SYS_CBSIZE 1024 diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 6e4e322986..5e02588066 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -121,7 +121,6 @@ CONFIG_BCH_CONST_M CONFIG_BCH_CONST_PARAMS CONFIG_BCH_CONST_T CONFIG_BCM2835_GPIO -CONFIG_BCM283X_MU_SERIAL CONFIG_BIOSEMU CONFIG_BITBANGMII_MULTI CONFIG_BL1_OFFSET