mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-16 17:58:23 +00:00
96383bdfe4
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>
37 lines
1.1 KiB
Text
37 lines
1.1 KiB
Text
menuconfig UNIT_TEST
|
|
bool "Unit tests"
|
|
help
|
|
Select this to compile in unit tests for various parts of
|
|
U-Boot. Test suites will be subcommands of the "ut" command.
|
|
This does not require sandbox to be included, but it is most
|
|
often used there.
|
|
|
|
config UT_LIB
|
|
bool "Unit tests for library functions"
|
|
depends on UNIT_TEST
|
|
default y
|
|
help
|
|
Enables the 'ut lib' command which tests library functions like
|
|
memcat(), memcyp(), memmove().
|
|
|
|
config UT_TIME
|
|
bool "Unit tests for time functions"
|
|
depends on UNIT_TEST
|
|
help
|
|
Enables the 'ut time' command which tests that the time functions
|
|
work correctly. The test is fairly simple and will not catch all
|
|
problems. But if you are having problems with udelay() and the like,
|
|
this is a good place to start.
|
|
|
|
config UT_UNICODE
|
|
bool "Unit tests for Unicode functions"
|
|
depends on UNIT_TEST
|
|
default y
|
|
help
|
|
Enables the 'ut unicode' command which tests that the functions for
|
|
manipulating Unicode strings work correctly.
|
|
|
|
source "test/dm/Kconfig"
|
|
source "test/env/Kconfig"
|
|
source "test/optee/Kconfig"
|
|
source "test/overlay/Kconfig"
|