From patchwork Wed Feb 14 18:34:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Igor Opaniuk X-Patchwork-Id: 1899048 X-Patchwork-Delegate: apalos@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=foundries.io header.i=@foundries.io header.a=rsa-sha256 header.s=google header.b=igA/uUUu; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TZn2D2Gd1z23hT for ; Thu, 15 Feb 2024 05:35:48 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4D3CD87D71; Wed, 14 Feb 2024 19:35:14 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=foundries.io 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; secure) header.d=foundries.io header.i=@foundries.io header.b="igA/uUUu"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E8C3D87D94; Wed, 14 Feb 2024 19:35:12 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) (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 CEFEB8785F for ; Wed, 14 Feb 2024 19:34:53 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=foundries.io Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=igor.opaniuk@foundries.io Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-55ee686b5d5so90967a12.0 for ; Wed, 14 Feb 2024 10:34:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundries.io; s=google; t=1707935692; x=1708540492; darn=lists.denx.de; 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=coMBrwKo8FxHUKtJ7NDABYA6WDE7AakJLJNkVlYE2kk=; b=igA/uUUuk5wfTeZz+2ZRGjaWTTyMEhrRSH4xFR/rb66fphen4OQymfZvtWKAOlXDvW 6FCHuWr3oaoGD865scK0bAZIss35Ih/nvtHMPon7F173v0dy3/k785M46slbHDJPoEvA 8hYlybiBac7V4X1jiD/hPHANSmP5uFvt/emBWMMbj3RVLYci5oiirnvph0J+l2znfbxC ZUOMCMtTAtBGCkLpB/r0vnHNgD5u4GDQrclodbSxaemNlzzSyY8CTEG62GMKIJAGGYTt +pyaiKphZI7NGFFl2q9s7MAx+kHfYrwdwmuxQaEljtbqN16nMCxDhuGTpl6iZQYnPT4o iI3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707935692; x=1708540492; 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=coMBrwKo8FxHUKtJ7NDABYA6WDE7AakJLJNkVlYE2kk=; b=pog/S8a6MRoFgWcJHikCOclpoPvgRhKWRD3PXRzVRvgX/wvO4pZwE6a6LQT7FB5wDG yqoo8SBuGabKr3waOkY92KwVqwRb1b3nNOWcB0nnGrIboWQC4UNorIsCzltwZicHLUyU UkW15ss+SS07lmDcob+diKaiEWmJ5kfmZRNEJl8ikdVx6pxWS4j6O2xUPooEUssn6sg6 XKvML0TSn238o1oMitiaWTP4YbsP6w4s5UP9FgNsfs8kiU2d0uMKS+uxsaJbBGAL3YHf rChIsEVLyuw4+hkT3eUlzd5kbrX077jqjjt+ziUwheKCx5eI1tOZwkdIXCbESqC6TMzZ qGWA== X-Gm-Message-State: AOJu0YwtE0uCUr1zR24+uOfI2FG4jbcVb5qmlVmnfYkWK5ZGgs1tZoXZ VW8qG+cnbPv2P449tLHvzSW/y9bwh6m1Gc0L3BKapXYfYI2D4q1NVYKFpez0AmQ87RhuDfLh+Nx MJ18= X-Google-Smtp-Source: AGHT+IGk0GXq8sU/yWXGaS64ka/8/QWGAzG8tpkbYrLzLjnfWMpnIyXbtRmK5J6GcGAL6vSzx7GdcA== X-Received: by 2002:aa7:dcc1:0:b0:560:ecd5:968b with SMTP id w1-20020aa7dcc1000000b00560ecd5968bmr2651991edu.23.1707935692395; Wed, 14 Feb 2024 10:34:52 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCWyUQemE5uyNxZ2L8P5nEPOIocQU3+MlTdti+avzXXHXFLggsqwXCVmyqS6iuj2wcUv3BH6EXSDtx3r2/AsuBwTRRua/ajCyU5/VOWX70Ej0SarRWoy/ruv33kowdF98ozz1BMfZEKP8o3cLJjz2Vybk0pMJN1q5Yux1w== Received: from localhost ([185.186.156.113]) by smtp.gmail.com with ESMTPSA id x9-20020a056402414900b0055ef7742204sm4513440eda.97.2024.02.14.10.34.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 10:34:49 -0800 (PST) From: Igor Opaniuk X-Google-Original-From: Igor Opaniuk To: u-boot@lists.denx.de Cc: Igor Opaniuk , Ilias Apalodimas , Jens Wiklander , Tom Rini Subject: [PATCH v1 1/5] tee: optee: fix description in Kconfig Date: Wed, 14 Feb 2024 19:34:40 +0100 Message-Id: <20240214183444.493629-2-igor.opaniuk@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240214183444.493629-1-igor.opaniuk@gmail.com> References: <20240214183444.493629-1-igor.opaniuk@gmail.com> MIME-Version: 1.0 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 Fix OPTEE_TA_AVB symbol description in Kconfig: s/"write"rb"/"write_rb"/g Signed-off-by: Igor Opaniuk Reviewed-by: Heinrich Schuchardt Reviewed-by: Ilias Apalodimas --- drivers/tee/optee/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tee/optee/Kconfig b/drivers/tee/optee/Kconfig index 9dc65b0501e..db0bcfa6f15 100644 --- a/drivers/tee/optee/Kconfig +++ b/drivers/tee/optee/Kconfig @@ -19,7 +19,7 @@ config OPTEE_TA_AVB default y help Enables support for the AVB Trusted Application (TA) in OP-TEE. - The TA can support the "avb" subcommands "read_rb", "write"rb" + The TA can support the "avb" subcommands "read_rb", "write_rb" and "is_unlocked". config OPTEE_TA_RPC_TEST From patchwork Wed Feb 14 18:34:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Igor Opaniuk X-Patchwork-Id: 1899049 X-Patchwork-Delegate: apalos@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=foundries.io header.i=@foundries.io header.a=rsa-sha256 header.s=google header.b=CYWCJ8A7; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TZn2S1ncmz23hT for ; Thu, 15 Feb 2024 05:36:00 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 010AE87D9B; Wed, 14 Feb 2024 19:35:15 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=foundries.io 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; secure) header.d=foundries.io header.i=@foundries.io header.b="CYWCJ8A7"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8588787D9B; Wed, 14 Feb 2024 19:35:14 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE,T_SPF_TEMPERROR autolearn=no autolearn_force=no version=3.4.2 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) (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 C23C580E9A for ; Wed, 14 Feb 2024 19:34:56 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=foundries.io Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=igor.opaniuk@foundries.io Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-a3d62da9d25so85042266b.3 for ; Wed, 14 Feb 2024 10:34:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundries.io; s=google; t=1707935695; x=1708540495; darn=lists.denx.de; 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=euEPLM3uwR7syEL7xD1whGsndjA8rrfy2Zq8OUPZ0qg=; b=CYWCJ8A7QiIciklE1A5qaeRlXSLsiySXE9pUn23urDz7jms4+eOf3TnotHK0ondzvO TCPc9UJnRQT02P81+qf0+8oaCpJO9OFaAYhqmq+vtJTKjP8ejsz3RKcuR5XZJ1aWee2C B+4DQCV+VPKb1DRf+ocZNv3qhgTXvkqhi7F1yaX09f390IRETl5+FxgIMEpl4qPurkhM aq/0cyD8GcmpXLGAbeu8wHybjO4A7oXf6+CGvsLQNUie1wi2iSfmM8nmRh95rre3Qx4a 5vAyWcOBBLBLiM2I120K87XB15jt/76jOQl7r2R39PSPGj/BkCLAVrRIGHYkuPit/SQv sR+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707935695; x=1708540495; 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=euEPLM3uwR7syEL7xD1whGsndjA8rrfy2Zq8OUPZ0qg=; b=vFfa5udQV1Ze1LgqWSyZRYKqsxZlHjsY848m9xQk3J7tN7iH9jF5FWd7HU91cGLOgL Cw/MWknIZ0HywnMKMIhlWvAahmJWv/8ezteC3o2JOpXhHOU63bIqikgYHqPQGkZp4Jud YMUIreIyrE1kA1acIpEf3k/CXWZJlFACXTEJNdYSPbAW0SrhFId7xb3LC5BW8KPPlZrd cqDym+ldrZivF2616xCX1H0zioweRMKs0nopbNyJtrWu4aR0R9Oaqc9uIaRdClPHNg7V GaoMtfzFvfII5yKJkp6jLmp2T8kKX1yAD9B2lN39/wFbuij/e4FhYrY6zXz0V/dtAHwS U7DQ== X-Gm-Message-State: AOJu0YwLciwXQ8k0kYKr/nWOcJeb1IeJBy5dQ7NuWxg4X7oX3i7OTffF hLSnnjIR9FmzDFKz19MupQLYzT6pnXIr/q8ijLN3gVZkA9o9Av2CdT64cfQRXZQxKP2qxENXtJX 3mvo= X-Google-Smtp-Source: AGHT+IEYZtMml9cOiAG65yofYzpK3FJ/jU3DAP90+7anglpMZstXqUw3i7s1u+0Q0JcclJcFIGKEzg== X-Received: by 2002:a17:906:a2c9:b0:a3c:8299:9c5f with SMTP id by9-20020a170906a2c900b00a3c82999c5fmr2389977ejb.75.1707935695435; Wed, 14 Feb 2024 10:34:55 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCUR84sohPPIItyzhyIQBDpdM0X5g0e2olpUy5ssD+TvdMNMj2KSq16EmA07ojx8EU2bv/JcHYkYRJn6F4cSePKW8hDVdj+N7mrRTRVtCRTOqrraixOdeAE4pvKVyPR78nZoksYBJj396q2vOVEmuc7zmi8NDdUo3CX6iONq38nZXGPNf9oWbN8kmapYJuzFYwW58sBilhkIJOYGpqeulcQd Received: from localhost ([185.186.156.113]) by smtp.gmail.com with ESMTPSA id vg14-20020a170907d30e00b00a3ceecd6cfbsm2160778ejc.56.2024.02.14.10.34.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 10:34:53 -0800 (PST) From: Igor Opaniuk X-Google-Original-From: Igor Opaniuk To: u-boot@lists.denx.de Cc: Igor Opaniuk , Ilias Apalodimas , Jens Wiklander , Jorge Ramirez-Ortiz , Simon Glass , Tom Rini Subject: [PATCH v1 2/5] tee: sandbox: fix spelling errors Date: Wed, 14 Feb 2024 19:34:41 +0100 Message-Id: <20240214183444.493629-3-igor.opaniuk@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240214183444.493629-1-igor.opaniuk@gmail.com> References: <20240214183444.493629-1-igor.opaniuk@gmail.com> MIME-Version: 1.0 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 Fix spelling errors in comments. Signed-off-by: Igor Opaniuk Reviewed-by: Heinrich Schuchardt Reviewed-by: Ilias Apalodimas --- drivers/tee/sandbox.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/tee/sandbox.c b/drivers/tee/sandbox.c index 86219a9bb1a..ec66401878c 100644 --- a/drivers/tee/sandbox.c +++ b/drivers/tee/sandbox.c @@ -14,7 +14,7 @@ #include "optee/optee_private.h" /* - * The sandbox tee driver tries to emulate a generic Trusted Exectution + * The sandbox tee driver tries to emulate a generic Trusted Execution * Environment (TEE) with the Trusted Applications (TA) OPTEE_TA_AVB and * OPTEE_TA_RPC_TEST available. */ @@ -23,7 +23,7 @@ static const u32 pstorage_max = 16; /** * struct ta_entry - TA entries * @uuid: UUID of an emulated TA - * @open_session Called when a session is openened to the TA + * @open_session Called when a session is opened to the TA * @invoke_func Called when a function in the TA is to be invoked * * This struct is used to register TAs in this sandbox emulation of a TEE. @@ -140,8 +140,8 @@ static u32 pta_scp03_invoke_func(struct udevice *dev, u32 func, uint num_params, provisioned = true; /* - * Either way, we asume both operations succeeded and that - * the communication channel has now been stablished + * Either way, we assume both operations succeeded and that + * the communication channel has now been established */ return TEE_SUCCESS; From patchwork Wed Feb 14 18:34:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Igor Opaniuk X-Patchwork-Id: 1899047 X-Patchwork-Delegate: apalos@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=foundries.io header.i=@foundries.io header.a=rsa-sha256 header.s=google header.b=SzKZo+Lo; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TZn1j6zGFz23hT for ; Thu, 15 Feb 2024 05:35:21 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A1D3C87D57; Wed, 14 Feb 2024 19:35:06 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=foundries.io 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; secure) header.d=foundries.io header.i=@foundries.io header.b="SzKZo+Lo"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E2F9A87D6C; Wed, 14 Feb 2024 19:35:05 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) (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 362A987D38 for ; Wed, 14 Feb 2024 19:35:00 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=foundries.io Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=igor.opaniuk@foundries.io Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-a26f73732c5so840975366b.3 for ; Wed, 14 Feb 2024 10:35:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundries.io; s=google; t=1707935698; x=1708540498; darn=lists.denx.de; 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=FvFJAdZAFUJyzS1WaO3bLDMHxE7A84ohIZOBxh+qx1M=; b=SzKZo+LoQS8Vq+tbjxhsGIj7P7KHf9d4v5KwVwUv9IigEl4mOBCNiC5BW9A9i12K+L Yo5H5ooFf/VSgTGnO1CeclZ+MPirWY//BnsG03UXZuw/Q03eWCbN7ntQb/9p7hQTQP6H 0bPcJAzmfXz3u+4VgCcxnlVww8hf25zi7JALsdHQBfNzb0SHRf/bbg0c6+T6eJ2WidOJ /k3CC9w7st4lAapitwKtP/E5qQnhkNr6oFXHwUelKEqx3DIW9RVbzctKVee9SCOeFgLq h/Fht8yOM+35Kw3UQLeA7Ea4eTfjctpgf57O/DJDZF3+23ZdGQBwR4zU05XAxO0IUc5c 4CVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707935698; x=1708540498; 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=FvFJAdZAFUJyzS1WaO3bLDMHxE7A84ohIZOBxh+qx1M=; b=hWVorYKXSbjbsw4SXD/rgg285QMJnYFX69CTi7qJofi8WO84LjIP7346MmxSUyttki ySkmZy1apr04ltHoV35LOB72AmTewDNOVxDJce3+swZgdwjkq8PfVMG2HG36Xl98LnVZ bseS89mMcPKW1ShRmvRuQlIFlxXTRU6MPhEg+Nu2x8Ace4gZsyUJvZeGTaTcM1UW2is7 aj8e0gGzrGAfwKhBktDRAgv87Rd/55W8BGlilqrg7edlfZlwytaMG3L8PFk8CdwAl7pZ 89Z/MfVSnJRNPsJCmRgs/he9cU7tdrBLKFrwiB96G2F6+TzSxw2LKfRYXbDh7EPdz2x3 uuGw== X-Gm-Message-State: AOJu0YwBTiOsxwILwzfDaDDx0dT56FLgBYqDoY3gb6KHWpmyN7ArrhAI qj3NXx6VJdo7hyhrk8FisjBy8eYBtGXnhEaArmkRJ+1S7YLjkneeO87d9UVoWdDV1okzRymOshy OsmU= X-Google-Smtp-Source: AGHT+IEIk661G/DrYQTMSZEkXC3hbm7HaqquiAPGQEc2J0rtXPijgGrIb0CQy9zIVIRpWWuNk2XZCA== X-Received: by 2002:a17:906:2312:b0:a3d:26ec:dec2 with SMTP id l18-20020a170906231200b00a3d26ecdec2mr2559973eja.2.1707935698517; Wed, 14 Feb 2024 10:34:58 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCWLSChg+ClwkuKiw4Lc4L1sbb5gq7WxpXIQioTq3lD1HOxuXMOqLOMV7Gu/My178VywXrNp7mBV2w618NjhUQAbA5H0nrP7MQJ/DAI3St2S7qt41y/sOMZBJ2JD4h5IXKQjJtjAmYO4drFQA9AJAb8DvS9SSCrFbrD/0JPgtO6bzKa3FhsYRUyvWsDjxbyJNAd4JQt+n0bo+uMEhKe+RozRvnxMs793OKq4hITg804vsxoVI9qVHNdm+53Fs2JnYLGt/4bWx7sSK9c6JHq+bEm+Tgo8ZuRtGH207D6fgIYw8dqBFk1JVxyN2uBhj7vBO44x6jhZtITvhyKS4ZmuasZGFr2xAQV8nq4ORQG27Psb1XJYcFiEAnU0iE0xWVSSr/KaDnOC+15Qe0xy/NxpCKuCALnSDhLq45Q= Received: from localhost ([185.186.156.113]) by smtp.gmail.com with ESMTPSA id tz15-20020a170907c78f00b00a3d153fba90sm1609058ejc.220.2024.02.14.10.34.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 10:34:56 -0800 (PST) From: Igor Opaniuk X-Google-Original-From: Igor Opaniuk To: u-boot@lists.denx.de Cc: Igor Opaniuk , AKASHI Takahiro , Abdellatif El Khlifi , Bin Meng , Francis Laniel , Heinrich Schuchardt , Mattijs Korpershoek , Miquel Raynal , Roger Knecht , Sean Edmond , Simon Glass , Tom Rini Subject: [PATCH v1 3/5] cmd: optee_rpmb: build cmd for sandbox Date: Wed, 14 Feb 2024 19:34:42 +0100 Message-Id: <20240214183444.493629-4-igor.opaniuk@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240214183444.493629-1-igor.opaniuk@gmail.com> References: <20240214183444.493629-1-igor.opaniuk@gmail.com> MIME-Version: 1.0 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 Support CMD_OPTEE_RPMB for SANDBOX configurations. Test: $ ./u-boot -d arch/sandbox/dts/test.dtb ... => optee_rpmb write_pvalue test_variable test_value Wrote 11 bytes => optee_rpmb read_pvalue test_variable 11 Read 11 bytes, value = test_value Signed-off-by: Igor Opaniuk Reviewed-by: Mattijs Korpershoek Tested-by: Mattijs Korpershoek # on sandbox --- cmd/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmd/Kconfig b/cmd/Kconfig index a86b5705174..8ad8c0c542c 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -1370,7 +1370,9 @@ config CMD_CLONE config CMD_OPTEE_RPMB bool "Enable read/write support on RPMB via OPTEE" - depends on SUPPORT_EMMC_RPMB && OPTEE + depends on (SUPPORT_EMMC_RPMB && OPTEE) || SANDBOX_TEE + default y if SANDBOX_TEE + select OPTEE_TA_AVB if SANDBOX_TEE help Enable the commands for reading, writing persistent named values in the Replay Protection Memory Block partition in eMMC by From patchwork Wed Feb 14 18:34:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Igor Opaniuk X-Patchwork-Id: 1899050 X-Patchwork-Delegate: apalos@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=foundries.io header.i=@foundries.io header.a=rsa-sha256 header.s=google header.b=OxpFIJAQ; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TZn2w21gzz23hT for ; Thu, 15 Feb 2024 05:36:24 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 17DC887DCF; Wed, 14 Feb 2024 19:35:24 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=foundries.io 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; secure) header.d=foundries.io header.i=@foundries.io header.b="OxpFIJAQ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B44ED87DA8; Wed, 14 Feb 2024 19:35:18 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) (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 2FC2587D85 for ; Wed, 14 Feb 2024 19:35:08 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=foundries.io Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=igor.opaniuk@foundries.io Received: by mail-ed1-x52b.google.com with SMTP id 4fb4d7f45d1cf-5620595f743so64845a12.3 for ; Wed, 14 Feb 2024 10:35:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundries.io; s=google; t=1707935702; x=1708540502; darn=lists.denx.de; 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=s29TXACrZKPSqpy1iYYJzibPmji9wvlhIkgklcdf6fU=; b=OxpFIJAQqxYMlcLc/hOhq7N3lZ1poK1UqR/1LQpGB5IhIOa56Nx/Z34yVc1Jy+ZIVn 7MwFvledUicos2kemhK45HOds/QmIdG7EygOlRt19T0Ot9w0elhVvymtKjlngSH4tfMq DZOv+pR77xzAMohrU2e+Gs2mySfDD3YmCo6sBDHs+PItJaOvtb+G8PFQ7DySVxDKeW8m chy3wnZyoLy5PkUmAJXkxE73Desc5R6P1vCicHoR+FpCJj0IuCKHE9SN/wzMGShwWlPs fJKzr8bf1vKP0TCtv9QUbNQRIsudQGdM4I/hlngQaIyK/LALcv4827Y0y0tX79sL6izM 1W3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707935702; x=1708540502; 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=s29TXACrZKPSqpy1iYYJzibPmji9wvlhIkgklcdf6fU=; b=FILNSfTbQkzuBeoMf4xBpSg96ju5xObZPaEFUJmuFYrRNLjBIw/EcZ2l5IUjZCDuJJ o8c63YaNIjXw/nBWh6LMwbNXJDwx+1TliX4nSdHPjdVwml5+EB94UPTyo09xwzUsmAua c+cMI/kp9jiNkbniZOIHGFkHC0W7lLNbbCiYHcBIv6YRyFDIQxCaduECdOO+J5yFhnaf lKBRp8UsVf9DNHYdTKJ+Jdb7yYhjCyDceH1tbezLKntvRs1dqHyOLyOlUbyf+hVZVkEE IBNIC+dX5X96TL8QEZOvdQ7B0EhJdT7zIHk5qw+5JRDHsS6aKJ24SGK6fE56h6Jj6QYT UTcw== X-Gm-Message-State: AOJu0YwOH9cH4pZbMfoilHEJiVFoWPkiLQ9deEXKEJBKVe3Ie4v4/MGV UvR5EkcWQ2qW+V2lR1DbFW34YW/pkXqllSVPOYoOxEi3i9ZAF1Eqq5aohojhj0DIv+Ldj7dvAHQ WsXI= X-Google-Smtp-Source: AGHT+IFWQLBzDdSwpyML87CPckM8J7dWKbcJXz/MT7dVl5SqOAR+adBRg0UnP3MnVArW0Is+2zQxfw== X-Received: by 2002:aa7:c153:0:b0:561:8bc4:b05f with SMTP id r19-20020aa7c153000000b005618bc4b05fmr2709213edp.0.1707935701730; Wed, 14 Feb 2024 10:35:01 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCWZaA72XKC0cb/cHXt0V/QrvQSPV1gCqcwpX2AYyvBhPb7lxwUiX6Iv9jxpkx+SXii6bRuZMi5xUWdH8EQGD4S3cXo= Received: from localhost ([185.186.156.113]) by smtp.gmail.com with ESMTPSA id o15-20020aa7d3cf000000b0056387e8b63csm554800edr.90.2024.02.14.10.34.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 10:34:59 -0800 (PST) From: Igor Opaniuk X-Google-Original-From: Igor Opaniuk To: u-boot@lists.denx.de Cc: Igor Opaniuk , Tom Rini Subject: [PATCH v1 4/5] test: py: add optee_rpmb tests Date: Wed, 14 Feb 2024 19:34:43 +0100 Message-Id: <20240214183444.493629-5-igor.opaniuk@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240214183444.493629-1-igor.opaniuk@gmail.com> References: <20240214183444.493629-1-igor.opaniuk@gmail.com> MIME-Version: 1.0 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 Add read/write tests for optee_rpmb cmd. Signed-off-by: Igor Opaniuk --- test/py/tests/test_optee_rpmb.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 test/py/tests/test_optee_rpmb.py diff --git a/test/py/tests/test_optee_rpmb.py b/test/py/tests/test_optee_rpmb.py new file mode 100644 index 00000000000..8a081b5c494 --- /dev/null +++ b/test/py/tests/test_optee_rpmb.py @@ -0,0 +1,20 @@ +# SPDX-License-Identifier: GPL-2.0+ +# +# Tests for OP-TEE RPMB read/write support + +""" +This tests optee_rpmb cmd in U-Boot +""" + +import pytest +import u_boot_utils as util + +@pytest.mark.buildconfigspec('cmd_optee_rpmb') +def test_optee_rpmb_read_write(u_boot_console): + """Test OP-TEE RPMB cmd read/write + """ + response = u_boot_console.run_command('optee_rpmb write_pvalue test_variable test_value') + assert response == 'Wrote 11 bytes' + + response = u_boot_console.run_command('optee_rpmb read_pvalue test_variable 11') + assert response == 'Read 11 bytes, value = test_value' \ No newline at end of file From patchwork Wed Feb 14 18:34:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Igor Opaniuk X-Patchwork-Id: 1899051 X-Patchwork-Delegate: apalos@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=foundries.io header.i=@foundries.io header.a=rsa-sha256 header.s=google header.b=UERoPtoU; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TZn3B3S5Wz23hT for ; Thu, 15 Feb 2024 05:36:38 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E01E787E01; Wed, 14 Feb 2024 19:35:37 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=foundries.io 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; secure) header.d=foundries.io header.i=@foundries.io header.b="UERoPtoU"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 27B8987E01; Wed, 14 Feb 2024 19:35:36 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,T_SCC_BODY_TEXT_LINE, T_SPF_HELO_TEMPERROR,T_SPF_TEMPERROR autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) (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 078788772A for ; Wed, 14 Feb 2024 19:35:11 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=foundries.io Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=igor.opaniuk@foundries.io Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-a34c5ca2537so2512266b.0 for ; Wed, 14 Feb 2024 10:35:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundries.io; s=google; t=1707935705; x=1708540505; darn=lists.denx.de; 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=yMsPcd2xDlGpAiuUGS5EUyZVuzXo04S1B8JHfgKH9Fc=; b=UERoPtoUkrGMJv9+1Nz0QuRe/BGGCH6BiIqzKjuTsXA3d1fedDqap+c9zwEMxMDNHy KCng3vD/myh+9Bd39fCzHNVJfwPH9W3+9xyxA/kERu68TxGfXbTDC4YAeffazyRzadx8 FjyFXmsNBig+BV2boBTIiuvo0m8Ks7ZRURblFCXv7uwKowgKgbx1GLLa4JEPDFTKWuii 1ZFwpUg4ZO3eGUD19vwVHuJUtin++e6rHO8Am51ef2Tku7vTd0lyjnj2BWgL5PzdatPo uYJ5HTxRAWjK3Oytutfy31N6YEwcATimycDsmpHeapN863E1+KgjRTmf+F56SC3TtNVp 3zwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707935705; x=1708540505; 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=yMsPcd2xDlGpAiuUGS5EUyZVuzXo04S1B8JHfgKH9Fc=; b=WmCASczBp/4e6NCkSu8pB6a2Wfw8m3i1s6CpH6+LjST5g76/Jgx22ZQjJ2P22n3qVx wUfpY0nv7IQO+KTaekIDDzPuTTlbtz1y482xtkDInlK2gweEwaDXQg/a0bgUB2O6afd1 ryJjveN5FpAlPsqYwDr5H17g1VqEWwvvoBk76/i2+6v22cH1EWm1bJpqkFPkN8uimjbc AVA34MCuJ0XrapIWSLTybicqJ6pbJ8WIJvtGR+sSjH+SuuTPfaSp4cOUEVLSPVw+csdT RDdJwOvT9WTkNASZBIarthttBZnncI2LDkA4y9/zoETeKkrsDFQQz8NaQNPxP0ytmEvi spOQ== X-Gm-Message-State: AOJu0Ywouta2ccJD37AviYaNQAlRxPtc8NwEGhpcZoPVcyLG2f9ewyhw BqUQZzo8FoLgVsnicwcpwNlp4RXUHehP4xcz/1LsTZRNvbD8QEppgK0ZysIpqWbckwHLMxWeadF Yytc= X-Google-Smtp-Source: AGHT+IH3JVKcf59txiiMh0ZU2sPzdd04y2SIek20GEDSlr3LNZl7ZiakLMiAly17nsQLKiboiGn+sQ== X-Received: by 2002:a17:906:344f:b0:a3c:92c2:66e0 with SMTP id d15-20020a170906344f00b00a3c92c266e0mr2593548ejb.64.1707935705004; Wed, 14 Feb 2024 10:35:05 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCWVAgjS2V+wigFyBZcT+dCf5WMa/0va92EIB5qDsVuq9lcZGxhoDRXvh25mbrZHWj4lXm5xVoU8al625PjcZQj2BjH9Tqvk4GTvv3Q6mgscKwS4GUbv11JcWfcddwTV1s4wzGlHsVSVauyJdEKdQYizGQoi4P6fqFeglaAkNgSaZsqDrig1vkQ/WuLO/XuEXc9ywToKXBYpMCSJeqCsNllCA982DQ6Kx78/ce/BNFUjyCOJPozSjP61CmoS3cSk2eiOZvKnoitMALfS6ndJvgIvLF37Be4fYtvfOWw= Received: from localhost ([185.186.156.113]) by smtp.gmail.com with ESMTPSA id tx7-20020a1709078e8700b00a3d76123920sm132968ejc.223.2024.02.14.10.35.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 10:35:02 -0800 (PST) From: Igor Opaniuk X-Google-Original-From: Igor Opaniuk To: u-boot@lists.denx.de Cc: Igor Opaniuk , Etienne Carriere , Ilias Apalodimas , Jens Wiklander , Jorge Ramirez-Ortiz , Patrice Chotard , Simon Glass , Tom Rini Subject: [PATCH v1 5/5] tee: remove common.h inclusion Date: Wed, 14 Feb 2024 19:34:44 +0100 Message-Id: <20240214183444.493629-6-igor.opaniuk@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240214183444.493629-1-igor.opaniuk@gmail.com> References: <20240214183444.493629-1-igor.opaniuk@gmail.com> MIME-Version: 1.0 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 The usage of the common.h include file is deprecated [1], and has already been removed from several files. Get rid of all inclusions in the "drivers/tee" directory, and replace it with required include files directly where needed. [1] doc/develop/codingstyle.rst Signed-off-by: Igor Opaniuk --- drivers/tee/broadcom/chimp_optee.c | 2 +- drivers/tee/optee/core.c | 1 - drivers/tee/optee/i2c.c | 1 - drivers/tee/optee/rpmb.c | 1 - drivers/tee/optee/supplicant.c | 2 +- drivers/tee/sandbox.c | 2 +- drivers/tee/tee-uclass.c | 1 - 7 files changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/tee/broadcom/chimp_optee.c b/drivers/tee/broadcom/chimp_optee.c index 37f9b094f76..c142ebd542f 100644 --- a/drivers/tee/broadcom/chimp_optee.c +++ b/drivers/tee/broadcom/chimp_optee.c @@ -3,9 +3,9 @@ * Copyright 2020 Broadcom. */ -#include #include #include +#include #ifdef CONFIG_CHIMP_OPTEE diff --git a/drivers/tee/optee/core.c b/drivers/tee/optee/core.c index 47f845cffe3..5fc0505c788 100644 --- a/drivers/tee/optee/core.c +++ b/drivers/tee/optee/core.c @@ -3,7 +3,6 @@ * Copyright (c) 2018-2020 Linaro Limited */ -#include #include #include #include diff --git a/drivers/tee/optee/i2c.c b/drivers/tee/optee/i2c.c index ef4e10f9912..e3fb99897c5 100644 --- a/drivers/tee/optee/i2c.c +++ b/drivers/tee/optee/i2c.c @@ -3,7 +3,6 @@ * Copyright (c) 2020 Foundries.io Ltd */ -#include #include #include #include diff --git a/drivers/tee/optee/rpmb.c b/drivers/tee/optee/rpmb.c index 5bc13757ea8..bacced6af6c 100644 --- a/drivers/tee/optee/rpmb.c +++ b/drivers/tee/optee/rpmb.c @@ -3,7 +3,6 @@ * Copyright (c) 2018 Linaro Limited */ -#include #include #include #include diff --git a/drivers/tee/optee/supplicant.c b/drivers/tee/optee/supplicant.c index f9dd874b594..8a426f53ba8 100644 --- a/drivers/tee/optee/supplicant.c +++ b/drivers/tee/optee/supplicant.c @@ -3,10 +3,10 @@ * Copyright (c) 2018, Linaro Limited */ -#include #include #include #include +#include #include #include "optee_msg.h" diff --git a/drivers/tee/sandbox.c b/drivers/tee/sandbox.c index ec66401878c..8ad7c09efdd 100644 --- a/drivers/tee/sandbox.c +++ b/drivers/tee/sandbox.c @@ -2,7 +2,7 @@ /* * Copyright (C) 2018 Linaro Limited */ -#include + #include #include #include diff --git a/drivers/tee/tee-uclass.c b/drivers/tee/tee-uclass.c index 52412a4098e..0194d732193 100644 --- a/drivers/tee/tee-uclass.c +++ b/drivers/tee/tee-uclass.c @@ -5,7 +5,6 @@ #define LOG_CATEGORY UCLASS_TEE -#include #include #include #include