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 7C5A7C636CC for ; Sun, 5 Feb 2023 22:42:20 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 987C6859E3; Sun, 5 Feb 2023 23:39:54 +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="LCGkzlHH"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 77B8A859B9; Sun, 5 Feb 2023 23:39:23 +0100 (CET) Received: from mail-il1-x134.google.com (mail-il1-x134.google.com [IPv6:2607:f8b0:4864:20::134]) (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 D792F85982 for ; Sun, 5 Feb 2023 23:38:57 +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-x134.google.com with SMTP id u8so4089524ilq.13 for ; Sun, 05 Feb 2023 14:38:57 -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=disFWKvF7TB/WG+HTugR0qtI4602UxS9gmEIloFAtXQ=; b=LCGkzlHHGDjYTISnPkHzOIMAyFyB3GlLcypQEGh/W7aWtCytdCJ8EH8/GegM+gli/A 6wMLOiaE/GC5mivdmfRxE5YF9VQ2OfNp9mUCc+xd0j4SDDF+aliRWhPNiN5bD7gcU4r+ VgwztPdf5cp7+K4pDUZuonRwoFxbltCZISxm8= 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=disFWKvF7TB/WG+HTugR0qtI4602UxS9gmEIloFAtXQ=; b=AtyxpQpPk6Yfncq2YJdLFCulg/ZIWBmlmiHKspAuJJxN1CcxO6FY7vJC3xBDdAmz09 Xie5fuhF6SUKlStSdepwlVzufPz5pKh3t2UIFz8mDmkQGbOGRFrrubTTLC9BA4brERPc Q4o2Wmjo89JuzSssaDVF0Wfw5OKJyTnkl9f1Kz4/HQyxwLqP9cYAMr7VSMKjXztzKk4u BQAEQFhMYr2xTzHoD7yEKUbJvYCHoLa/qLdYfFuRD9yJjfIOD64jNiHBgcC7AKHJ5PEA CyykSfOItgANkTUmjRXxga8YyxBdfCM3tsnZPpPRRob44ubdA5ZHFSGch2bj7M4gB0qJ l57Q== X-Gm-Message-State: AO0yUKV0hkqJvDghOIxzUfFYFd5Rx4S2EytKNsEkvT5oTZ4oHe1GFjlI INz2Hbih98ZpHu0ZvZvOj+L0E23AU66DdEkv X-Google-Smtp-Source: AK7set/7xBUnMNNEd8gpoXiIFzBsBQQtqHusfFn0m/gOByj4Tbwmn7l0OsCYeK3fICYrGthAoJfwjA== X-Received: by 2002:a92:c24d:0:b0:313:af46:81b9 with SMTP id k13-20020a92c24d000000b00313af4681b9mr5522407ilo.27.1675636737375; Sun, 05 Feb 2023 14:38:57 -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.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Feb 2023 14:38:57 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass Subject: [PATCH v2 015/169] iommu: Add a Kconfig for SPL_IOMMU Date: Sun, 5 Feb 2023 15:36:01 -0700 Message-Id: <20230205223836.231657-16-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/iommu/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig index dabc1f900d5..bbacd14a56c 100644 --- a/drivers/iommu/Kconfig +++ b/drivers/iommu/Kconfig @@ -14,6 +14,10 @@ config IOMMU memory if the IOMMU has been programmed to allow access to that memory. +config SPL_IOMMU + def_bool n # Enable Driver Model for IOMMU drivers (SPL) + depends on SPL_DM + config APPLE_DART bool "Apple DART support" depends on IOMMU && ARCH_APPLE -- 2.39.1.519.gcb327c4b5f-goog