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 4391EC636CC for ; Sun, 5 Feb 2023 22:55:46 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0278785B93; Sun, 5 Feb 2023 23:45:32 +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="EIoDf4ch"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5F3E78597E; Sun, 5 Feb 2023 23:45:23 +0100 (CET) Received: from mail-io1-xd30.google.com (mail-io1-xd30.google.com [IPv6:2607:f8b0:4864:20::d30]) (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 997238597E for ; Sun, 5 Feb 2023 23:45:19 +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-xd30.google.com with SMTP id r6so3893114ioj.5 for ; Sun, 05 Feb 2023 14:45:19 -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=cXw3Y6meKK6I5kDO/rn7zl0nPc952HvMUeXGAPKe7pE=; b=EIoDf4chnPMnnScUIIuRk0Yf6DWq88v9S6HvrTJknENsW0vn4LaYumtrVofqMXWE6O 3t1U19VnmSTrK7AmNSwQM9kvOTqDibDMZTl3nVSITOdnktK0ijIWisCCzjYrsYXg44Ff uxpGB/Gob2OvyoeC3R+bh1d2ARSLvVPXVSl80= 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=cXw3Y6meKK6I5kDO/rn7zl0nPc952HvMUeXGAPKe7pE=; b=xvFmRkSG/zfUUKpCJpIsGzQulWspJXsqivk0vTlEu0TxpwozH/s4wV9T2Ablar3GMA 3F4NhWUYak86942cxh/YUyNZuIliVWmOjicqKL/gX6+yJbAnGtFKpzETiP7n75zadFtS NBy2wSUukABl1+C+9SuYrz5nSXSGmAnVu5+5Z/RTn7ImUNOtG2VzYVxl/4C4223jg5g3 2QoEZsk35NcYu6nCj7FB1DRTxoAEGy5M6ZnCR6k1lh7QTtTnjMw3Wr16ZsMorDZ1dG9q bqPb2HeBRuwhkduRF6e0ydanbgLKMctjAoD0ai1iCc4e3OIvjBGx5d+WbgXehu88hcCx W/MA== X-Gm-Message-State: AO0yUKX7w2Wyg/xlf8bUA0WpwY7/bF/6epg16RmISGLSXB7eTjoA7HWF FGZu7gQg0ieiRkN2Cpf8I0coxq223vu4Q/wl X-Google-Smtp-Source: AK7set8sfXGDA1hDG5aMPNwt5fnHS4s1yufNSwdBe3QOLKSKm9rK7GlMy2MeE2IONj9uPAmXX8oWQQ== X-Received: by 2002:a05:6602:370d:b0:72a:c776:647 with SMTP id bh13-20020a056602370d00b0072ac7760647mr7018011iob.8.1675637118250; Sun, 05 Feb 2023 14:45:18 -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 p8-20020a02c808000000b003a9cab5c5e3sm2903842jao.116.2023.02.05.14.45.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Feb 2023 14:45:18 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass Subject: [PATCH v2 153/169] Correct SPL use of TEE Date: Sun, 5 Feb 2023 15:44:17 -0700 Message-Id: <20230205224433.234723-154-sjg@chromium.org> X-Mailer: git-send-email 2.39.1.519.gcb327c4b5f-goog In-Reply-To: <20230205224433.234723-153-sjg@chromium.org> References: <20230205224433.234723-153-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 converts 1 usage of this option to the non-SPL form, since there is no SPL_TEE defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) include/tee.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/tee.h b/include/tee.h index 13f6096b9a6..ab0c5832613 100644 --- a/include/tee.h +++ b/include/tee.h @@ -328,7 +328,7 @@ bool tee_shm_is_registered(struct tee_shm *shm, struct udevice *dev); * Returns a probed TEE device of the first TEE device matched by the * match() callback or NULL. */ -#if CONFIG_IS_ENABLED(TEE) +#if IS_ENABLED(CONFIG_TEE) struct udevice *tee_find_device(struct udevice *start, int (*match)(struct tee_version_data *vers, const void *data), -- 2.39.1.519.gcb327c4b5f-goog