]> git.baikalelectronics.ru Git - arm-tf.git/commit
test(tc): move platform tests in their own function
authorSandrine Bailleux <sandrine.bailleux@arm.com>
Fri, 5 May 2023 13:44:26 +0000 (15:44 +0200)
committerSandrine Bailleux <sandrine.bailleux@arm.com>
Mon, 15 May 2023 11:02:24 +0000 (13:02 +0200)
commit4eefbf1bf73aed1f48c0dbb06577625d2d0ce953
treebe00f68512babfd33912cad17db850411f821060
parent57cc12c85c789f4aef0bf67caa9d984639f916f2
test(tc): move platform tests in their own function

This is a bit cleaner, as it avoids cluttering the normal boot execution
path. It also gives us the opportunity to mark the tests function with
the __dead2 attribute, which inform both the compiler and the developer
that the test function never returns (since it suspends booting).

Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
Change-Id: I082a34a840ef791a2ac4c1f59b19b32aeb0a9ec7
plat/arm/board/tc/tc_bl31_setup.c