mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
tests: add OP-TEE test suite
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@theobroma-systems.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
6ccb05eae0
commit
96383bdfe4
11 changed files with 250 additions and 0 deletions
14
include/test/optee.h
Normal file
14
include/test/optee.h
Normal file
|
@ -0,0 +1,14 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0+ */
|
||||
/*
|
||||
* Copyright (C) 2019, Theobroma Systems Design und Consulting GmbH
|
||||
*/
|
||||
|
||||
#ifndef __TEST_OPTEE_H__
|
||||
#define __TEST_OPTEE_H__
|
||||
|
||||
#include <test/test.h>
|
||||
|
||||
/* Declare a new environment test */
|
||||
#define OPTEE_TEST(_name, _flags) UNIT_TEST(_name, _flags, optee_test)
|
||||
|
||||
#endif /* __TEST_OPTEE_H__ */
|
Loading…
Add table
Add a link
Reference in a new issue