]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(cpufeat): resolve build errors due to compiler optimization
authorJayanth Dodderi Chidanand <jayanthdodderi.chidanand@arm.com>
Wed, 1 Mar 2023 15:35:28 +0000 (15:35 +0000)
committerjayanthchidanand-arm <jayanthdodderi.chidanand@arm.com>
Wed, 1 Mar 2023 16:54:07 +0000 (17:54 +0100)
commite8f0dd58da231b81ba0ce6f27aaf1e31b4d4c429
treebe73589f0975248fc8bc18f9c5db21475b22fa8f
parent55d5c6a16ab69b2c99aedbd1aa0d3e58350f4380
fix(cpufeat): resolve build errors due to compiler optimization

Currently most of the architectural feature build flags are set
to 2(FEATURE_STATE_CHECK) for fvp platform only.

However other platforms still configure them by default to 0, which
would lead to build failures in cases when compiler configured
to build TF-A  with zero optimization (CFLAGS='-O0').

This patch addresses such build issues and thereby resolves the failures
seen under CI-l3 test_configurations.

Change-Id: I45b82b821951bba6b9df08177f7d286e624a4239
Signed-off-by: Jayanth Dodderi Chidanand <jayanthdodderi.chidanand@arm.com>
include/lib/extensions/brbe.h
include/lib/extensions/trbe.h
include/lib/extensions/trf.h