From patchwork Sun Feb 5 22:35:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1737785 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=PUjTw3F3; 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 4P94Bn3g0Jz23r4 for ; Mon, 6 Feb 2023 09:41:53 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id F3C3C859DB; Sun, 5 Feb 2023 23:39:45 +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="PUjTw3F3"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 35E9F8529D; Sun, 5 Feb 2023 23:39:13 +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=unavailable autolearn_force=no version=3.4.2 Received: from mail-il1-x12b.google.com (mail-il1-x12b.google.com [IPv6:2607:f8b0:4864:20::12b]) (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 A36A285921 for ; Sun, 5 Feb 2023 23:38:51 +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-x12b.google.com with SMTP id j12so629029ila.1 for ; Sun, 05 Feb 2023 14:38:51 -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=PUjTw3F3YMIeuZAEQHlnViS6qGyMQyj1bTfLbAEPBZPCFykvSbfxoBlrslkz7m7CKd dA1+ExvXQ3hMI+L0jl17KTL1v2dThkL69PqewRpooE0RYSRHHbvtiT29KZADUVxz/vwu yaMACQq4UXYo22cJUhsfree/qbR7hLYa1xors= 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=ceKFLwQNqfmZZujy67P5/fznx0QKJ5cMUZkqB59Qe3EzQ7Is2ilv3KNJi51xc6N5aE jTKF3sOldlspCoCvyRn/VI+jArxcIE+uPg1QqC725YXgtRnoiDMDVmfriJGX8095yukC Sg3H82ZqdlqRvKz8Idm+Ki2lh9uSwygfBBNyHKMda4pwWnATf4J6POrjFtPXmyIGfezx yvhO3hx1D/GeuUknu80NsEQMyQyuotc+JwSXQPA4Mnx80Zfe/z1gcqykGFY8bY/wQf69 sqikrPv0iKTfm+GUHn3OzMAWe+LHlB44xTQ239NIJ1fNcAi2aQv5IwB5wrSj2BsxUl33 roZw== X-Gm-Message-State: AO0yUKUoucYmmL2uglHX1NLvemiIBNR9TkIY2VrBCxrTe47nZbFgvcv1 /tqd36zvVoEsgzWlOucqSObvG3S9/bhE6Ogw X-Google-Smtp-Source: AK7set9NNqvkNDSShm6ecW1T9QXh5Vgg0NUi2GyOxmAg6u5x7t1zNYxzuL+2V/PtGQEvfS9U0VTx5g== X-Received: by 2002:a05:6e02:b22:b0:310:f6c0:20c1 with SMTP id e2-20020a056e020b2200b00310f6c020c1mr17631265ilu.28.1675636731203; Sun, 05 Feb 2023 14:38:51 -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.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Feb 2023 14:38:50 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass , Marek Vasut , Pavel Herrmann Subject: [PATCH v2 008/169] dm: Add a Kconfig for SPL_DEVRES Date: Sun, 5 Feb 2023 15:35:54 -0700 Message-Id: <20230205223836.231657-9-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 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