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 5B4DEC636D6 for ; Wed, 22 Feb 2023 16:45:59 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id AE2AD85BA3; Wed, 22 Feb 2023 17:37:34 +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="c9J7y+W/"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5578085B0A; Wed, 22 Feb 2023 17:36:10 +0100 (CET) Received: from mail-io1-xd31.google.com (mail-io1-xd31.google.com [IPv6:2607:f8b0:4864:20::d31]) (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 D72BB85B03 for ; Wed, 22 Feb 2023 17:35:17 +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-xd31.google.com with SMTP id t129so441540iof.12 for ; Wed, 22 Feb 2023 08:35:17 -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=0GVfWlomx3npkK1a6HXKuDE16iY/pKVVcOxJygwz5cM=; b=c9J7y+W/AVA24okTl9MK7QiD6ypSB/5x8GjsdpCK6enTBPoXaH6wYBilpjGSb7DTIh aM2x6Meobjt9kSDkLs1P2JTBZoJBceeKjqS5VsD86YaBgagkbty+5q9GpiL87CAvJvbU hu2ArBZe5D2VkGMl5D63CQbr1QU9ev8Zni788= 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=0GVfWlomx3npkK1a6HXKuDE16iY/pKVVcOxJygwz5cM=; b=SB+ORwc346s6i9CM5yMnqD8xgnosyckioQlgCl+xZxTZh6zGVFwEjAhEUi7Znk3z07 BaqopIxFtPenuaByQ7Cek8wAg/KhydMzWfDh4uUg2F3MhzqZ+HBj90N/5Fqb0+LpTNme qgkMrNag71Z2CBFkvq2fPluP4AQLq+dlQtjevdAAUgNU9X5FKwgdyeAj49VUQMKZvE0c muHHpU2BrulZcT5YHtd0BAXDB2iHkWjfkd73y2agkHcbMd10boQd2JE17LWnzhyZsCAg g+ntRmc3GtZLezj5nG8UuIIKw+2UM9Jql9cc2zVlfkn/ELaaaDSOU092SpS5wPO9UYRg D+3w== X-Gm-Message-State: AO0yUKWGy+nELkWv7NAGukZPske+t9jl+EFVSLq5Yvm7FqQR2dmJLcSd +OdUQ7/joqbEBHr6i4fEiDefim7ORL6YB1if X-Google-Smtp-Source: AK7set9lMDCAySH//cqQWTfERpNQlAa9gVt0BST6Ce9miahDeEcX8QdtsHVQ4/aVKKcR9g8vkE2yiw== X-Received: by 2002:a05:6602:2d92:b0:744:99d9:dd45 with SMTP id k18-20020a0566022d9200b0074499d9dd45mr6630404iow.3.1677083715961; Wed, 22 Feb 2023 08:35:15 -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 z26-20020a056602005a00b00716eb44b97esm2164541ioz.27.2023.02.22.08.35.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Feb 2023 08:35:15 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass , Marek Vasut , Pavel Herrmann Subject: [PATCH v5 40/44] dm: Add a TPL symbol for simple-bus Date: Wed, 22 Feb 2023 09:34:21 -0700 Message-Id: <20230222163425.2043934-41-sjg@chromium.org> X-Mailer: git-send-email 2.39.2.637.g21b0678d19-goog In-Reply-To: <20230222163425.2043934-1-sjg@chromium.org> References: <20230222163425.2043934-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 used in some x86 code, so add a symbol for it. Signed-off-by: Simon Glass --- (no changes since v1) drivers/core/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/core/Kconfig b/drivers/core/Kconfig index 6fc8854b574..0f755aa702e 100644 --- a/drivers/core/Kconfig +++ b/drivers/core/Kconfig @@ -301,6 +301,13 @@ config SPL_SIMPLE_BUS Supports the 'simple-bus' driver, which is used on some systems in SPL. +config TPL_SIMPLE_BUS + bool "Support simple-bus driver in TPL" + depends on TPL_DM && TPL_OF_CONTROL + help + Supports the 'simple-bus' driver, which is used on some systems + in TPL. + config SIMPLE_BUS_CORRECT_RANGE bool "Decode the 'simple-bus' by honoring the #address-cells and #size-cells" depends on SIMPLE_BUS -- 2.39.2.637.g21b0678d19-goog