From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4E484EB64DD for ; Fri, 14 Jul 2023 02:14:36 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4857586D0B; Fri, 14 Jul 2023 04:14:34 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com 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=gmail.com header.i=@gmail.com header.b="CEYY7DBt"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 815EE86D09; Fri, 14 Jul 2023 04:14:32 +0200 (CEST) Received: from mail-qk1-x72d.google.com (mail-qk1-x72d.google.com [IPv6:2607:f8b0:4864:20::72d]) (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 3A32186D0B for ; Fri, 14 Jul 2023 04:14:30 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=seanga2@gmail.com Received: by mail-qk1-x72d.google.com with SMTP id af79cd13be357-7659dc74d91so143581385a.0 for ; Thu, 13 Jul 2023 19:14:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689300869; x=1691892869; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=jrnkhqoi8Kf9rG/pHfhitPTqiUiW+v5+riLGP4wMnc8=; b=CEYY7DBt87IijXbN+BB/L409ztQEUhI09Ggvsym4ZUA+O8b436ezBKdJIq2N6f87ls T0j14BS0pzA/gX/D7qVOD+8+BIb+dn/hS57QXuP8vNdwJ93WOyFYOt6fAMdUWdwQ42iY oRLus+gV0IewJ1C7g41ljH7uhWpzyMX5+qOLGaFp+BCDRTjslVizCioP3xd0ezQvzMVH NEaBZWfCvLnf3yBRkeMZfgosJnrd9n78Yj0vyQs8pf4aZOg0YbGFh26CR2joO232g+0Q 6ETu6JknL4bHIWvPg8D/fA0DYAAD+c7/Q8+oc4m6xuXmSH6tb5OH8YGeyW2aTm/Q0zTH FmAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689300869; x=1691892869; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=jrnkhqoi8Kf9rG/pHfhitPTqiUiW+v5+riLGP4wMnc8=; b=aom/VE3kR4rNqvysVP3lu7Pk10QzW9SmRpbrM+USNin3m+U0T7bn3Mpjgy0r3A1HC0 E/hjdYr2oEAf2y7YNeGwv3Qr5tz6KwSsWwmXfwULa0jvEXVFjKV7faoYQHBhvKX5d/1G 72HOiuhoH5Qsss9KyIOnj04EsUA1rfLbmfps6iv6093kQQrdbavdWePXk/U1rdbxDJWS 2/iWdBBfO1Hck7QS478BEIe1sDMViVnix3ETKudmywgQnyFVSQi0s5O+qUDhKGn4drI5 s1+DO9MUa1os1iWgxRFo2LjUoVILWel385mmYu39qGLe5UaxfuuQdVpeRkpZspcZqHbk eBTg== X-Gm-Message-State: ABy/qLbn5O95tvalmLtIVkHsgk5uCdjIm7ZXEowCpbcjt12EXWwUfjCL inMZ8VkP89//QU5eddaVGGY= X-Google-Smtp-Source: APBJJlGK3OFfjR406KsBgdZxxRtA42JuRboQQC78iWMI3zz4RyNVS4l3H/0KhY/8KtruQdegTB36QQ== X-Received: by 2002:a05:620a:2450:b0:767:3bd4:dda0 with SMTP id h16-20020a05620a245000b007673bd4dda0mr4759965qkn.39.1689300868828; Thu, 13 Jul 2023 19:14:28 -0700 (PDT) Received: from [192.168.1.201] (pool-173-73-95-180.washdc.fios.verizon.net. [173.73.95.180]) by smtp.gmail.com with ESMTPSA id m18-20020ae9e012000000b00765a676b75csm3406405qkk.21.2023.07.13.19.14.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 13 Jul 2023 19:14:27 -0700 (PDT) Message-ID: <80f08687-ea21-be1f-ed16-51d7d738801f@gmail.com> Date: Thu, 13 Jul 2023 22:14:26 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH] clk: scmi: claim the dependency on CONFIG_CLK Content-Language: en-US To: AKASHI Takahiro , lukma@denx.de Cc: etienne.carriere@linaro.org, u-boot@lists.denx.de References: <20230612011449.10195-1-takahiro.akashi@linaro.org> From: Sean Anderson In-Reply-To: <20230612011449.10195-1-takahiro.akashi@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 On 6/11/23 21:14, AKASHI Takahiro wrote: > 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 > --- > 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 Reviewed-by: Sean Anderson