Message ID | 20180101232310.30420-16-andrew.smirnov@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D3A8B601A1 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 1 Jan 2018 23:35:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B1704286B1 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 1 Jan 2018 23:35:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A5F7F286F3; Mon, 1 Jan 2018 23:35:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 24CF1286B1 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 1 Jan 2018 23:35:11 +0000 (UTC) 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:References: In-Reply-To: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:List-Owner; bh=v/r7ivxc9BoePLqh3TyR/sVwpwvjVYe+mJFfLUnTyvE=; b=KA0wfEd4lYxt2ogJ5YSE8dQuRd XwtMx9sNkgXkP8GGsR3oISvnR1iaE0lSuaPzSfLdVkx4tKK6iCNowdcpOlWNby66vSeNBVKX7iQRa WWNyfOXV3bFGQOu8BNaM7Kb2ycozYsSkOpWiM9oSkntuT2GsXpueGyhsZ1RpSqEBMquuebfeg9pzl SEZ4c3IzbsTh3GICqHAB+7bWQf5iRgpoRAqf+k+lxdBwBQm5ApdBWlg48qEc0auNlZRbD50OruIdZ RMfaV7c1KSLGE1YM8kTS4iOTtFNf+IyCU6qsIJW3E8JTcYBcH5E+AHAyT/KWGw2sZ2EJy+yTdTK74 ea1OhL3g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eW9bm-0000CO-3v; Mon, 01 Jan 2018 23:35:06 +0000 Received: from mail-pl0-x242.google.com ([2607:f8b0:400e:c01::242]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eW9RK-0007Zf-4e; Mon, 01 Jan 2018 23:24:45 +0000 Received: by mail-pl0-x242.google.com with SMTP id 62so26134168pld.7; Mon, 01 Jan 2018 15:24:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=pmagvljZEITiS5D6yhQo80RjbK7a4x+O5Ul84GnA6gg=; b=oYXPhe47kf5TWRS33G7MWLODyQeqb9xv8T0MWqAMhZI1Rd+ZpxIFs5YM6/dqfLlqR1 NHY+d1h1FLUYB2r+I6iUTU79BW0kjMQFfcM5Wt0YCz6K0ZVEvvNX+Z0E5uHqQxUntMga Xv9YV7iv+4YiYxQGS95gWYn3WtOxeFFQs7JnvxN9D8DRtwBRbt9d2g8vcnn4qfS6AP+E TbRuUvh3KSKoF/3kRx4Q4cLnODfOd1/lgGot/qgZrcCXa0J38x8K+/fSPo2mzMaogHL/ hslwbzlJCjb4TNP14oB99xGBvQkgdGqazFuA/klyFd+5dZCga9sBkGJd30HNmj4duwfD tuCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=pmagvljZEITiS5D6yhQo80RjbK7a4x+O5Ul84GnA6gg=; b=ilpNUXqNlxcBLwo31o2CE8BS5+visX560ZjJxtbjIxQviT1uor7G9okSpDvfyUNidH 8cXn9Dp4l/VqG3sESiaGhLQG+8qLcRbasvVYOkhhJr7QGaTeXG7F8Dd4hEA88BEuilq1 HkFf6N0sbw660HOVcdaXcOxMsBdwgedJgfNj/6/y5sSC6GdfLCo18v9Em3Q0DB5jat70 vnEJ+gHhk/fD1FXPMzvEt9tEgvxLRjCDQ3GpQomclv5oDgX07xk8JzThrCrfy4EOi8Zq GXRLLIIV22UakfasQ5Kc/7UH179vCK+dJP0RjW8HsAH1kq58NocALs5ymRnDrqRIDhoP mA5Q== X-Gm-Message-State: AKGB3mJsLHZxTppGcY7EqHmvCQnIN+p6ZDKkFfPbH35roOm+693Z1Kgx WC6Fb2vkHmYPeAmZjyal0uc= X-Google-Smtp-Source: ACJfBotl5oifZatnibeFj6tyMVKQIu0FD9v5bare523/28Q3VGotwVW1ccuagwEz8GHOCZYl/sMxcg== X-Received: by 10.84.210.66 with SMTP id z60mr44253553plh.359.1514849046661; Mon, 01 Jan 2018 15:24:06 -0800 (PST) Received: from squirtle.lan (c-24-22-235-96.hsd1.wa.comcast.net. [24.22.235.96]) by smtp.gmail.com with ESMTPSA id t75sm90857156pfi.146.2018.01.01.15.24.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 01 Jan 2018 15:24:06 -0800 (PST) From: Andrey Smirnov <andrew.smirnov@gmail.com> To: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Subject: [PATCH v2 15/21] nvmem: meson-efuse: Do no gate COMPILE_TEST with MESON_SM Date: Mon, 1 Jan 2018 15:23:04 -0800 Message-Id: <20180101232310.30420-16-andrew.smirnov@gmail.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180101232310.30420-1-andrew.smirnov@gmail.com> References: <20180101232310.30420-1-andrew.smirnov@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180101_152418_737417_25EF6E97 X-CRM114-Status: GOOD ( 10.40 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Heiko Stuebner <heiko@sntech.de>, linux-rockchip@lists.infradead.org, Andrey Smirnov <andrew.smirnov@gmail.com>, Kevin Hilman <khilman@baylibre.com>, linux-kernel@vger.kernel.org, Masahiro Yamada <yamada.masahiro@socionext.com>, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Matthias Brugger <matthias.bgg@gmail.com>, linux-amlogic@lists.infradead.org, Carlo Caione <carlo@caione.org>, cphealy@gmail.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/nvmem/Kconfig b/drivers/nvmem/Kconfig index ff505af064ba..42e84e1b2a26 100644 --- a/drivers/nvmem/Kconfig +++ b/drivers/nvmem/Kconfig @@ -147,7 +147,7 @@ config NVMEM_VF610_OCOTP config MESON_EFUSE tristate "Amlogic Meson GX eFuse Support" - depends on (ARCH_MESON || COMPILE_TEST) && MESON_SM + depends on (ARCH_MESON && MESON_SM) || COMPILE_TEST help This is a driver to retrieve specific values from the eFuse found on the Amlogic Meson GX SoCs.
Being able to build this driver when COMPILE_TEST is selected is still useful even when MESON_SM is not selected, since selecting this driver as a module and doing "make modules" will result in successful build and would detect trivial coding errors. For an example of type of errors that could be prevented see [1] and [2] [1] lkml.kernel.org/r/20171227225956.14442-12-andrew.smirnov@gmail.com [2] https://marc.info/?l=linux-arm-kernel&m=151461599104358&w=2 Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Cc: Heiko Stuebner <heiko@sntech.de> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Carlo Caione <carlo@caione.org> Cc: Kevin Hilman <khilman@baylibre.com> Cc: Matthias Brugger <matthias.bgg@gmail.com> Cc: cphealy@gmail.com Cc: linux-kernel@vger.kernel.org Cc: linux-mediatek@lists.infradead.org Cc: linux-rockchip@lists.infradead.org Cc: linux-amlogic@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> --- drivers/nvmem/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)