From: Simon Glass <sjg@chromium.org>
Date: Sun, 5 Feb 2023 22:44:17 +0000 (-0700)
Subject: Correct SPL use of TEE
X-Git-Tag: v2025.01-rc5-pxa1908~1114^2~25
X-Git-Url: http://git.dujemihanovic.xyz/img/static/html/%7B%7B?a=commitdiff_plain;h=d84855fe82d1725497773b8048817ae5788e1442;p=u-boot.git

Correct SPL use of TEE

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 <sjg@chromium.org>
---

diff --git a/include/tee.h b/include/tee.h
index 13f6096b9a..ab0c583261 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),