From patchwork Mon Sep 11 12:22:08 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 812391 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133; helo=bombadil.infradead.org; envelope-from=linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Oc9pW3wm"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3xrTzT6f90z9s0Z for ; Mon, 11 Sep 2017 23:58:27 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=dnHqZ3l2hn5+iNotkK5Jf/pAu44X71ZwxMuQWTWqvdw=; b=Oc9 pW3wmMa03/vjWImYbA8ZIb8Y9Mc9ChYWaeuYszoPNZgt2eGBk8bemhtdC4anoYrNw/VmkkJCieKua vNQHvnwF8BPCVqqueL/2O41GeuXqAOEHFp2oXNc2pl6pKyPtmmMs+++ca8wsqRyUHziijDKgY+D6o wYAq6DD/+5Wn7wzSVyHBn0KSWAj7VPejkOjj/yDbpDeeUuWPL5cw+LV42cCjC1B3lv81xAfw/AG6t WALnMzxPDiJi98JLTjAARtAMUcgbe5st2udNs/N1WzI8+zI9ZZTDS/MW2gvGG0hYG3QCSDFKAi5s2 T/k/uqC5KRRS421wq7jXAxkjMLx6aow==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1drNje-0006k5-FN; Mon, 11 Sep 2017 12:22:42 +0000 Received: from albert.telenet-ops.be ([2a02:1800:110:4::f00:1a]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1drNjb-0006iF-PI for linux-snps-arc@lists.infradead.org; Mon, 11 Sep 2017 12:22:41 +0000 Received: from ayla.of.borg ([84.195.106.246]) by albert.telenet-ops.be with bizsmtp id 8CNB1w0095JzmfG06CNBNh; Mon, 11 Sep 2017 14:22:11 +0200 Received: from ramsan.of.borg ([192.168.97.29] helo=ramsan) by ayla.of.borg with esmtp (Exim 4.86_2) (envelope-from ) id 1drNj4-0004dw-FB; Mon, 11 Sep 2017 14:22:06 +0200 Received: from geert by ramsan with local (Exim 4.86_2) (envelope-from ) id 1drNj8-0007Fl-Qz; Mon, 11 Sep 2017 14:22:10 +0200 From: Geert Uytterhoeven To: Eugeniy Paltsev , Philipp Zabel Subject: [PATCH] reset: Restrict RESET_HSDK_V1 to ARC_SOC_HSDK or COMPILE_TEST Date: Mon, 11 Sep 2017 14:22:08 +0200 Message-Id: <1505132528-27843-1-git-send-email-geert@linux-m68k.org> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170911_052240_001940_53F95733 X-CRM114-Status: UNSURE ( 6.22 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2a02:1800:110:4:0:0:f00:1a listed in] [list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-BeenThere: linux-snps-arc@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux on Synopsys ARC Processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-snps-arc@lists.infradead.org, Geert Uytterhoeven , linux-kernel@vger.kernel.org MIME-Version: 1.0 Sender: "linux-snps-arc" Errors-To: linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org The HSDK reset driver is only useful when building for an ARC HSDK platform. While at it, drop the "default n", as that is the default. Fixes: e0be864f14240cb1 ("ARC: reset: introduce HSDKv1 reset driver") Signed-off-by: Geert Uytterhoeven --- drivers/reset/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig index 52d5251660b9b51c..feea22c912ebf688 100644 --- a/drivers/reset/Kconfig +++ b/drivers/reset/Kconfig @@ -36,7 +36,7 @@ config RESET_BERLIN config RESET_HSDK_V1 bool "HSDK v1 Reset Driver" - default n + depends on ARC_SOC_HSDK || COMPILE_TEST help This enables the reset controller driver for HSDK v1.