From patchwork Mon Jun 12 01:14:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 691620 Delivered-To: patch@linaro.org Received: by 2002:a5d:4d8a:0:0:0:0:0 with SMTP id b10csp1827984wru; Sun, 11 Jun 2023 18:15:27 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ65UAofvB8tXVlm8kC6Qy7+rC9O/ejNj5glYymEBq9DoT/Q2V6XXhHOBJpiRQTnYLY84dY6 X-Received: by 2002:a17:902:e5c4:b0:1af:babd:7b84 with SMTP id u4-20020a170902e5c400b001afbabd7b84mr6023689plf.41.1686532526914; Sun, 11 Jun 2023 18:15:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686532526; cv=none; d=google.com; s=arc-20160816; b=OP5zY0zlqtGbYnyaVk/QqnVZ525Sj7RFXQwxk/3jySe/zM+hoacy2AdoifxEHCmLG6 Knc6TE6tFKTBlFYsRgZYiu+MiNaCj8n7mJaBVZ8JhbHVWOP3X8LORWNG+EdhJ2tvta2w 5OaNLX1SGFEmMYU2B93p1JpHnwPD/knHg5cH2YdqAVj4io/zwXrZe/DzYYxPMJSrJLA9 1e6TDfbO7qJ6EdKOVX4hAEgmQ/YihB+5x2x9MArxOuEIgJGo4NajQsasceL/77z+cb7Y 4i6HrBSC0ewC6K6ZSqzmHbW2OD+uXl6b2AlTSZeEFyQnFJVw9LF6kxmn/dzIlWIdVuon F0vA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=+B/2pLMs5wERv0z1xCqXISPO/+h5rua8ZXTtGCy1bCE=; b=SiOxCwsjZvRU8Vx6211rNRvJAQwgbbdXH2UgC/EfJhCHUN6P7zC8gBuA2K0oV9Mwf2 A90YwOlwlMGlyDrv0UB0rQ/NPt1az4ibHAaWNijw7PlRDUIpY62plKDm+ES83LjtLchU InwKUSAy9UsgsW+2psGXK+nS8CIiOwbNljmvofVlFkdA72wu2WSOFXlqOqzGpUev6LvT 7ubrX5TqLQtPOF3lmosj4lYI/MPtWszAtU4FxuifUhygqLhRxJOrBp7apmJHsadMtR8y 9sWgBCxE6DJJhigU4iXlKq2ZOIeJYAAzSUMuN87AhEKRVoym3Cx/UJdsdzahNQVsuXFb FmpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=b7+eY4CW; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id c8-20020a170902d48800b001b23ee377f4si2752786plg.271.2023.06.11.18.15.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Jun 2023 18:15:26 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=b7+eY4CW; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3BA5485C5A; Mon, 12 Jun 2023 03:15:17 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="b7+eY4CW"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A34DE84704; Mon, 12 Jun 2023 03:15:11 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mail-pg1-x52e.google.com (mail-pg1-x52e.google.com [IPv6:2607:f8b0:4864:20::52e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id A44938468E for ; Mon, 12 Jun 2023 03:15:05 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=takahiro.akashi@linaro.org Received: by mail-pg1-x52e.google.com with SMTP id 41be03b00d2f7-53f567979baso459915a12.0 for ; Sun, 11 Jun 2023 18:15:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686532504; x=1689124504; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=+B/2pLMs5wERv0z1xCqXISPO/+h5rua8ZXTtGCy1bCE=; b=b7+eY4CWmk0zlKRuHihtufaS2nen+VS1FJeub+8zXvxolbgnImHmS2bj609jFVEzyK 5eCroMxrfvvArvXl9BlNZ+78Mwnyliw+3btZaxDhB6g2CDUq/Aqk7eHTuttqH2WIxOFy sxJyDjMNlOE+1FBHyKYv917MOOELzKJKldHY4rnV4Bac+qdVEQcwSgKeu+MxAOWCrxZX V7ZMGspOIfbtpUzqVSI8JeaYU28b7ruoXjX7ScpzJnUNgVZ0RJn4FMs47Tbu05uF5dfo Y6nmJ3IDh80Y/T1mtRcAaw1TX1NkvANXRst1x8zLIWFhF/asymMpBrsmEvdedoZfnaSb PZTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686532504; x=1689124504; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=+B/2pLMs5wERv0z1xCqXISPO/+h5rua8ZXTtGCy1bCE=; b=j7RJGWSBvwYEj5ltNTi7S6vPxz858JXfyeMWMCbS7WXwfd8LdvSNihpEbCOai/hWAM zR6f+pZctWcQ+3+7rxx0xpeUjA6I1/pTwfqN+jZk/9+2jVkWHTTZRn3oLA6CeJhEb5t7 qTjGUb/lkX//mreKY8EFcTsJqfqRpAKOhg3HfLdVoN6x8E6RQzcw3M/cMxKqYk5Tiyx9 2jk1gBwLxEXnK1avMHlXDOHAErMm6nonlnjwfCi8nJCXStwDPzcrrHlQD/blaRQH6rl0 g7wVxOtVWFp2Dlsf0OGVwQ6ig/kaP13hycmfUKQ3sj/+MSlrlsK4XjhvHIwP1IdbvzjC D8Lw== X-Gm-Message-State: AC+VfDyMMTjtB7psu6X9noo0nUPk23yaXWs4yZnZsOmM19PHVHqtRj40 EoaG2p0kt+56jwbgQvQPPpfQ9g== X-Received: by 2002:a05:6a20:1610:b0:11a:dbb3:703b with SMTP id l16-20020a056a20161000b0011adbb3703bmr1807081pzj.6.1686532503798; Sun, 11 Jun 2023 18:15:03 -0700 (PDT) Received: from laputa.. ([2400:4050:c3e1:100:5c65:9b1:5ee8:3d6d]) by smtp.gmail.com with ESMTPSA id s22-20020a63e816000000b00519c3475f21sm6381377pgh.46.2023.06.11.18.15.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Jun 2023 18:15:03 -0700 (PDT) From: AKASHI Takahiro To: lukma@denx.de, seanga2@gmail.com Cc: etienne.carriere@linaro.org, u-boot@lists.denx.de, AKASHI Takahiro Subject: [PATCH] clk: scmi: claim the dependency on CONFIG_CLK Date: Mon, 12 Jun 2023 10:14:49 +0900 Message-ID: <20230612011449.10195-1-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Without CONFIG_CLK, the build fails with the following message: LD u-boot aarch64-none-linux-gnu-ld.bfd: drivers/firmware/scmi/scmi_agent-uclass.o: \ in function `scmi_bind_protocols': .../drivers/firmware/scmi/scmi_agent-uclass.c:79: undefined reference to \ `_u_boot_list_2_driver_2_scmi_clock' Signed-off-by: AKASHI Takahiro Reviewed-by: Sean Anderson --- drivers/clk/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig index 3ad5af964f3f..29859cdfa158 100644 --- a/drivers/clk/Kconfig +++ b/drivers/clk/Kconfig @@ -160,6 +160,7 @@ config SANDBOX_CLK_CCF config CLK_SCMI bool "Enable SCMI clock driver" + depends on CLK depends on SCMI_FIRMWARE help Enable this option if you want to support clock devices exposed