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 C6ECFC636CD for ; Sun, 5 Feb 2023 22:42:05 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5A28D859B7; Sun, 5 Feb 2023 23:39:50 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="f8j3okc6"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id DBBCB859B1; Sun, 5 Feb 2023 23:39:19 +0100 (CET) Received: from mail-il1-x132.google.com (mail-il1-x132.google.com [IPv6:2607:f8b0:4864:20::132]) (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 48EC085954 for ; Sun, 5 Feb 2023 23:38:56 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-il1-x132.google.com with SMTP id n2so657140ili.11 for ; Sun, 05 Feb 2023 14:38:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=xMEGd//l79EXg6xTwgbT+fi0aThv45eDPgqW8b43NWc=; b=f8j3okc6oDjcp7LaHq8NOvK4ATbODIZ1g821UPtsBuNInZQSR3m0iByBkFIpXNU5aI ZUanPLR0kpdGLx5pdbWRbfk7k3Q8zA4va759kqCwYIanUDoeVm3iblxhnVxUZkTasQXN nm8dFIeLYCY+uZQaJwzIomOV83cA23aYeqipM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xMEGd//l79EXg6xTwgbT+fi0aThv45eDPgqW8b43NWc=; b=k/KdPiawU2Z9zZTWwG+ybEJ81ChFdXB08Hd1DctTL+vL1pGCuIb7aGT9ULO/hn4Qi7 ZlHUHjHJ+0hQ4nEGvgjHLE4YeAh9xzbWYrBes/TFMadzkOTn5H2ioM+B2eZz1KJygHpA eaScMHkCpGWSvQcYiJgFvZqggrVPOPAdRaNKn5M8hrzJbqA527CR0dTAeY85Zd42Utz0 plCJ2PF4FgfkL/PnVRrIRViCkcSLzEuyLTSl2gqWxaY8hmqIWiSdT0iNlkW3Lt2FYxF/ w+YYprx/pNl8lvoLEF2u/+P9P3GytvpuxXs1JbHfOkIvkQ6RE8HrjsuVUMczBY8g6vT1 gM1Q== X-Gm-Message-State: AO0yUKWVP6LaxM1nIKktmtsdIycEcwH4s2TWldq4fc3/B3/AIuUKJbfh Mv2NU6bhNU+Qjs3RT84/l+8LUGT51X+1qo8A X-Google-Smtp-Source: AK7set/ujXq4UCS4GFLFtBWpYz/FNsOnjRyJqBXM+VUr/cLAKXg+95sfAipiDwT5lVgKrKsusYvmBw== X-Received: by 2002:a05:6e02:20ee:b0:310:c566:4692 with SMTP id q14-20020a056e0220ee00b00310c5664692mr16331788ilv.22.1675636735798; Sun, 05 Feb 2023 14:38:55 -0800 (PST) Received: from sjg1.roam.corp.google.com (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id m40-20020a05663840a800b003b49e7d990asm2856393jam.30.2023.02.05.14.38.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Feb 2023 14:38:55 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass Subject: [PATCH v2 013/169] button: Add a Kconfig for SPL_BUTTON Date: Sun, 5 Feb 2023 15:35:59 -0700 Message-Id: <20230205223836.231657-14-sjg@chromium.org> X-Mailer: git-send-email 2.39.1.519.gcb327c4b5f-goog In-Reply-To: <20230205223836.231657-1-sjg@chromium.org> References: <20230205223836.231657-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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.6 at phobos.denx.de X-Virus-Status: Clean This is implicitly used in the source and seems useful, so add it. Signed-off-by: Simon Glass --- (no changes since v1) drivers/button/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/button/Kconfig b/drivers/button/Kconfig index 8ce2de37d62..60645a7745a 100644 --- a/drivers/button/Kconfig +++ b/drivers/button/Kconfig @@ -9,6 +9,10 @@ config BUTTON can provide access to board-specific buttons. Use of the device tree for configuration is encouraged. +config SPL_BUTTON + def_bool n # Enable button support (SPL) + depends on SPL + config BUTTON_ADC bool "Button adc" depends on BUTTON -- 2.39.1.519.gcb327c4b5f-goog