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 93DF3EB64DA for ; Tue, 18 Jul 2023 14:57:57 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 872FA86713; Tue, 18 Jul 2023 16:57:29 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="CIuVps2v"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 46F25866E9; Tue, 18 Jul 2023 16:57:23 +0200 (CEST) Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) (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 0FB13866EC for ; Tue, 18 Jul 2023 16:57:20 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=knaerzche@gmail.com Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-51ff0e3d8c1so7873362a12.0 for ; Tue, 18 Jul 2023 07:57:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689692239; x=1692284239; 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=BvXOteoMy8s0gWoIydIqLoGyBa4DGAJywR+NxrpZdSs=; b=CIuVps2vh2BJMWTQQfA3UW7HYzD/jWuznEnB5WLJUP/91/DscziN/FwU6aJdcEsNgT lUtONcsd7JU1LzA5rEwOFmK+GLySwA8IpP9+ig3lF05SBzUXv7bvcHC+z1BooauA9Qis UqkmPJ7sqgl7/ryEzHyv7Ac+zCz431H0m80memSIoOv09wuoEYbMBR4LMMfyoX1PUJ9e 2eMUxUJqa8bjh5TsjsTiztBzFH5XEXdT+XaqQRR5DvMTMpjNtcryE2XEzvGDY8IuooAu z+iely5N41SyTrXSkdfbStHsU3BMrV8H6IJm/aBd/NQ+tWZJYyeNQRed7eFTKkR6oJNk EBAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689692239; x=1692284239; 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=BvXOteoMy8s0gWoIydIqLoGyBa4DGAJywR+NxrpZdSs=; b=K0y0Cs5TbHm39jhKJsZ+INI4JeWenubP61i/ZwT1PCHqVD78bCT2AseDz0y03N2So8 aq4cNuPxZBvnyZ65aJuQ/KzBGyglkNuzuyqG8RmuU3L0ltuLeNP/TSmauRRgTlM4q/Nk wdgKkfVAdffSned6YiSkO88GIHpxEsRNXYJRMgViH3cSb2+cs1YUHx3gVluXm+kREieB lJnJdIxQljESI2WlTPaX1xVWocjsfgXkv4YZabBj7YmTnwzfZU0hvtyNdbnOkPZEf6Gx LLVApylzOL4xHxeDLXfqR+TmweivkrUQhitmdgMXM5xrL8A5ABFfDYCmCrOlXhHX2pVg 7y1w== X-Gm-Message-State: ABy/qLYedZ8RbfTkQ/+xhvwS65CgZ5fx+tJiwBwobEcSeNIw0ElAySM9 cXyUc/Ke1h5sd219R+tydmEZteMbnw== X-Google-Smtp-Source: APBJJlHROJUofku/7ojInp4cUd6bkKmH8FymZE3sNnnOswa6ZqJaE8BrmO6Xxfa7PH2bo2lqYioz/A== X-Received: by 2002:a05:6402:12d4:b0:51e:2664:e6e7 with SMTP id k20-20020a05640212d400b0051e2664e6e7mr93111edx.38.1689692239501; Tue, 18 Jul 2023 07:57:19 -0700 (PDT) Received: from U4.fritz.box ([2001:9e8:b960:df00:3afe:540e:d7ee:98ac]) by smtp.gmail.com with ESMTPSA id f25-20020aa7d859000000b0051de20c59d7sm1340797eds.15.2023.07.18.07.57.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Jul 2023 07:57:19 -0700 (PDT) From: Alex Bee To: u-boot@lists.denx.de, Kever Yang , Philipp Tomsich , Simon Glass Cc: Alex Bee Subject: [PATCH v2 3/5] rockchip: RK322x: Select SPL_OPTEE_IMAGE Date: Tue, 18 Jul 2023 16:57:13 +0200 Message-ID: <20230718145715.1280201-4-knaerzche@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230718145715.1280201-1-knaerzche@gmail.com> References: <20230716081034.1196995-1-knaerzche@gmail.com> <20230718145715.1280201-1-knaerzche@gmail.com> 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.8 at phobos.denx.de X-Virus-Status: Clean For RK322x series ARM SoCs the OP-TEE is non-optional, as besides the TEE it also provides the PSCI implementation, which is expected to be available by upstream linux. Select CONFIG_SPL_OPTEE_IMAGE if an FIT image is built. Signed-off-by: Alex Bee --- arch/arm/mach-rockchip/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig index 9d6d20bf8e..17dd43155d 100644 --- a/arch/arm/mach-rockchip/Kconfig +++ b/arch/arm/mach-rockchip/Kconfig @@ -106,6 +106,7 @@ config ROCKCHIP_RK322X imply ROCKCHIP_COMMON_BOARD imply SPL_SERIAL imply SPL_ROCKCHIP_COMMON_BOARD + select SPL_OPTEE_IMAGE if SPL_FIT imply TPL_SERIAL imply TPL_ROCKCHIP_COMMON_BOARD select TPL_LIBCOMMON_SUPPORT -- 2.41.0