]> git.baikalelectronics.ru Git - arm-tf.git/commit
test(tc): test for AP/RSS NV counter interface
authorlaurenw-arm <lauren.wehrmeister@arm.com>
Tue, 7 Feb 2023 19:40:05 +0000 (13:40 -0600)
committerlaurenw-arm <lauren.wehrmeister@arm.com>
Wed, 8 Mar 2023 18:05:06 +0000 (12:05 -0600)
commit1b0761130bab90306b48674dcdd86b42543fb81e
tree87c8b67549b2ec069c18d02cc246db1a5e5e3763
parent2b7150b381f3497d391ec28e2f34be01b2968ada
test(tc): test for AP/RSS NV counter interface

Change in PLATFORM_TEST build flag from boolean -> string, with the
current string options being tfm-testsuite and rss-nv-counters.

To get the old behavior, i.e. where we used to use PLATFORM_TEST=1,
we now need to pass PLATFORM_TEST=tfm-testsuite.

Adding new test of the AP/RSS interface for non-volatile counters.
The test reads, increments, and reads again each 3 types of NV
counters for: CCA, secure, and non-secure firmware. Enabled by
PLATFORM_TEST=rss-nv-counters.

Change-Id: I2044cc9b2f37984697e0754c9c824eab51a11e7f
Signed-off-by: Lauren Wehrmeister <lauren.wehrmeister@arm.com>
Signed-off-by: Raef Coles <raef.coles@arm.com>
plat/arm/board/tc/include/tc_plat.h
plat/arm/board/tc/nv_counter_test.c [new file with mode: 0644]
plat/arm/board/tc/platform.mk
plat/arm/board/tc/platform_test.mk
plat/arm/board/tc/tc_bl31_setup.c