From patchwork Fri Jul 10 10:51:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rayagonda Kokatanur X-Patchwork-Id: 241294 List-Id: U-Boot discussion From: rayagonda.kokatanur at broadcom.com (Rayagonda Kokatanur) Date: Fri, 10 Jul 2020 16:21:03 +0530 Subject: [PATCH v4 0/2] add optee support for broadcom NS3 soc Message-ID: <20200710105105.12926-1-rayagonda.kokatanur@broadcom.com> This is fourth patch set series prepared on top of third patch set ("add FIT image support for broadcom NS3 soc"). This patch adds optee support. Changes from v3: -Address review comments from Simon, Rearrange code and remove while loop, Add comments for function. Changes from v2: -Address review comments from Simon, Remove own return code and use standard error code. Take out common lines from different functions and move them into common static function. Remove include as its not required. Move functions with printf from header file into c file. -Address slef review comments, Remove optee dt node as this file is no longer in sync with linux. Changes from v1: -Address review comments from Thomas Fitzsimmons, Expand the bnxt full form. -Address review comments from Simon Glass, Move c file from board/broadcom/bcmns3/chimp_optee.c to drivers/tee/broadcom, Move header file from include/brcm/chimp.h to include/broadcom/chimp.h Rayagonda Kokatanur (1): configs: ns3: enable tee and optee driver Vikas Gupta (1): drivers: tee: broadcom: add optee based bnxt fw load driver configs/bcm_ns3_defconfig | 5 +- drivers/tee/Kconfig | 1 + drivers/tee/Makefile | 1 + drivers/tee/broadcom/Kconfig | 7 ++ drivers/tee/broadcom/Makefile | 3 + drivers/tee/broadcom/chimp_optee.c | 180 +++++++++++++++++++++++++++++ include/broadcom/chimp.h | 43 +++++++ 7 files changed, 239 insertions(+), 1 deletion(-) create mode 100644 drivers/tee/broadcom/Kconfig create mode 100644 drivers/tee/broadcom/Makefile create mode 100644 drivers/tee/broadcom/chimp_optee.c create mode 100644 include/broadcom/chimp.h