From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Tue, 29 Oct 2019 19:48:24 -0600 Subject: [U-Boot] [PATCH v2 4/4] tests: add OP-TEE test suite In-Reply-To: <20191022190428.14868-4-heiko@sntech.de> References: <20191022190428.14868-1-heiko@sntech.de> <20191022190428.14868-4-heiko@sntech.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, 22 Oct 2019 at 13:04, Heiko Stuebner wrote: > > From: Heiko Stuebner > > OP-TEE can get supplied with a devicetree and will then insert > its firmware node and reserved-memory sections into it. > As this devicetree often is not the one supplied to a later > loaded kernel, a previous commit added functionality to transfer > these nodes onto that new devicetree. > > To make sure this functionality stays intact, also add a test > for the transfer functionality. > > Signed-off-by: Heiko Stuebner > --- > Makefile | 1 + > include/test/optee.h | 14 +++ > include/test/suites.h | 1 + > test/Kconfig | 1 + > test/cmd_ut.c | 6 ++ > test/optee/Kconfig | 7 ++ > test/optee/Makefile | 13 +++ > test/optee/cmd_ut_optee.c | 143 +++++++++++++++++++++++++++++ > test/optee/test-optee-base.dts | 13 +++ > test/optee/test-optee-no-optee.dts | 13 +++ > test/optee/test-optee-optee.dts | 32 +++++++ > 11 files changed, 244 insertions(+) > create mode 100644 include/test/optee.h > create mode 100644 test/optee/Kconfig > create mode 100644 test/optee/Makefile > create mode 100644 test/optee/cmd_ut_optee.c > create mode 100644 test/optee/test-optee-base.dts > create mode 100644 test/optee/test-optee-no-optee.dts > create mode 100644 test/optee/test-optee-optee.dts Reviewed-by: Simon Glass