From patchwork Mon Feb 6 19:04:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1738348 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=Au10Tpr6; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4P9bRl6vbhz23r8 for ; Tue, 7 Feb 2023 06:09:55 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DC91A85C0C; Mon, 6 Feb 2023 20:09:27 +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="Au10Tpr6"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7D49D85C38; Mon, 6 Feb 2023 20:08:57 +0100 (CET) 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,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-io1-xd34.google.com (mail-io1-xd34.google.com [IPv6:2607:f8b0:4864:20::d34]) (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 532F085C2B for ; Mon, 6 Feb 2023 20:08:53 +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-io1-xd34.google.com with SMTP id y2so4818444iot.4 for ; Mon, 06 Feb 2023 11:08:53 -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=grsTG7lYFnTke1bwDbc2fPtp+0nHqKgn3yxu6HWxHCg=; b=Au10Tpr6o5ewQ98qkN72LnJKpx/LTrvC7lcshNifz+bsMAXG+uOh0ZFcnicSEmoMLG CKqFJW46CSk07PjWcufr+j24BmzFFx+aOL92B47oP+/vi7sZwC9k1U6Lvs80Xbzn34jP gRj8XKBa2rmaAUWI+lQsu1wU5HtI/jUx/637A= 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=grsTG7lYFnTke1bwDbc2fPtp+0nHqKgn3yxu6HWxHCg=; b=l+BuZz5lkNMBF5H0htzPcn9Wpaj5xyePfwXawGtdqdPwdUJmGvOY4g41xlOOZjmaLZ jvgKIek132BWIZrVETpwDWOz5brL8U5EXBlm8dykEdpAJalaoIiCwPdD0CJuN2JVmSdH xpJxvKxN89FEsMAYc01/nz/Xqialsl7UvUd+vcj4IaRubdFthvEbZiHYH20YyX5+fqsH GkYVc9iEQlYdj/AjQN7hQNLw+Q0FSWHrFcu8KNvQdNxKepgv6Qajl8vhFdGF6eAgrdBK o1s8zgtUf6hkOF+RXj8lr4DJJN5DSDmNv4nFjG/hRYzFEs8STEHfeMT1ZRfTugapGa4h sSOQ== X-Gm-Message-State: AO0yUKXu4A2ojjJGTa3k25S6v6dY8mS0DO+7pkc+Cgh2scAMblj9UtA3 mETsdSyAGqUNd0ezIPziLNC/bmoplP6hJ7O0 X-Google-Smtp-Source: AK7set94x2yhpwYWGZeAQMkZhL87n1Zd5c8In/ZzHW290sKGL/VqKDOYXrWLXAsEtCf+R7Cl+REKiQ== X-Received: by 2002:a05:6602:1584:b0:6e9:d035:45df with SMTP id e4-20020a056602158400b006e9d03545dfmr235729iow.6.1675710531934; Mon, 06 Feb 2023 11:08:51 -0800 (PST) Received: from kea.bld.corp.google.com ([2620:15c:183:200:34e9:6977:1cac:fd32]) by smtp.gmail.com with ESMTPSA id t24-20020a028798000000b00375a885f908sm749878jai.36.2023.02.06.11.08.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Feb 2023 11:08:51 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass , Marek Vasut , Pavel Herrmann Subject: [PATCH v3 07/81] dm: Add a Kconfig for SPL_DEVRES Date: Mon, 6 Feb 2023 12:04:35 -0700 Message-Id: <20230206190550.1692420-8-sjg@chromium.org> X-Mailer: git-send-email 2.39.1.519.gcb327c4b5f-goog In-Reply-To: <20230206190550.1692420-1-sjg@chromium.org> References: <20230206190550.1692420-1-sjg@chromium.org> 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.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/core/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/core/Kconfig b/drivers/core/Kconfig index 6fc8854b574..22381500afe 100644 --- a/drivers/core/Kconfig +++ b/drivers/core/Kconfig @@ -275,6 +275,10 @@ config DEVRES non-managed variants. For example, devres_alloc() to kzalloc(), devm_kmalloc() to kmalloc(), etc. +config SPL_DEVRES + def_bool n # Managed device resources (SPL) + depends on SPL_DM + config DEBUG_DEVRES bool "Managed device resources debugging functions" depends on DEVRES