[U-Boot] [PATCH v2 4/4] tests: add OP-TEE test suite

Simon Glass sjg at chromium.org
Wed Oct 30 01:48:24 UTC 2019


On Tue, 22 Oct 2019 at 13:04, Heiko Stuebner <heiko at sntech.de> wrote:
>
> From: Heiko Stuebner <heiko.stuebner at theobroma-systems.com>
>
> 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 <heiko.stuebner at theobroma-systems.com>
> ---
>  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 <sjg at chromium.org>


More information about the U-Boot mailing list