]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(tc): enable the execution of both platform tests
authorTamas Ban <tamas.ban@arm.com>
Fri, 21 Apr 2023 07:31:48 +0000 (09:31 +0200)
committerSandrine Bailleux <sandrine.bailleux@arm.com>
Thu, 27 Apr 2023 05:59:44 +0000 (07:59 +0200)
commit657b90ea1aa2831a7feed31f07fc8e92213e6465
tree25d37bc1424ba7682febcdf3dd97a996e5c85fc6
parentd5fc8992c7b63675b6fc4b2c00a1e1acfdaaeee2
fix(tc): enable the execution of both platform tests

The C preprocessor cannot compare defines against strings.
Such an expression is always evaluated to be true. Therefore,
its usage in a conditional expression results that always the
first branch is taken. Other branches cannot be reached by
any configuration value. The fix removes this string comparison
and instead it introduces distinct defines for all the cases.

Signed-off-by: Tamas Ban <tamas.ban@arm.com>
Change-Id: Ia1142b31b6778686c74e1e882fe4604fe3b6501d
plat/arm/board/tc/include/tc_plat.h
plat/arm/board/tc/platform.mk
plat/arm/board/tc/platform_test.mk
plat/arm/board/tc/tc_bl31_setup.c