chore: update to use Arm word across TF-AAlign entire TF-A to use Arm in copyright header.Change-Id: Ief9992169efdab61d0da6bd8c5180de7a4bc2244Signed-off-by: Govindraj Raja <govindraj.raja@arm.co
chore: update to use Arm word across TF-AAlign entire TF-A to use Arm in copyright header.Change-Id: Ief9992169efdab61d0da6bd8c5180de7a4bc2244Signed-off-by: Govindraj Raja <govindraj.raja@arm.com>
show more ...
style: remove useless trailing semicolon and line continuationsfound using checkpatch.pl[1][1]: https://review.coreboot.org/plugins/gitiles/coreboot/+/refs/heads/master/util/lint/checkpatch.plS
style: remove useless trailing semicolon and line continuationsfound using checkpatch.pl[1][1]: https://review.coreboot.org/plugins/gitiles/coreboot/+/refs/heads/master/util/lint/checkpatch.plSigned-off-by: Elyes Haouas <ehaouas@noos.fr>Change-Id: I7957c9694300fefb85d11f7819c43af95271f14c
coverity: fix MISRA violationsFixes for the following MISRA violations:- Missing explicit parentheses on sub-expression- An identifier or macro name beginning with an underscore, shall not be d
coverity: fix MISRA violationsFixes for the following MISRA violations:- Missing explicit parentheses on sub-expression- An identifier or macro name beginning with an underscore, shall not be declared- Type mismatch in BL1 SMC handlers and tspd_main.cChange-Id: I7a92abf260da95acb0846b27c2997b59b059efc4Signed-off-by: Zelalem <zelalem.aweke@arm.com>
Replace __ASSEMBLY__ with compiler-builtin __ASSEMBLER__NOTE: __ASSEMBLY__ macro is now deprecated in favor of __ASSEMBLER__.All common C compilers predefine a macro called __ASSEMBLER__ whenpre
Replace __ASSEMBLY__ with compiler-builtin __ASSEMBLER__NOTE: __ASSEMBLY__ macro is now deprecated in favor of __ASSEMBLER__.All common C compilers predefine a macro called __ASSEMBLER__ whenpreprocessing a .S file. There is no reason for TF-A to define it's own__ASSEMBLY__ macro for this purpose instead. To unify code with theexport headers (which use __ASSEMBLER__ to avoid one extra dependency),let's deprecate __ASSEMBLY__ and switch the code base over to thepredefined standard.Change-Id: Id7d0ec8cf330195da80499c68562b65cb5ab7417Signed-off-by: Julius Werner <jwerner@chromium.org>
Sanitise includes across codebaseEnforce full include path for includes. Deprecate old paths.The following folders inside include/lib have been left unchanged:- include/lib/cpus/${ARCH}- inclu
Sanitise includes across codebaseEnforce full include path for includes. Deprecate old paths.The following folders inside include/lib have been left unchanged:- include/lib/cpus/${ARCH}- include/lib/el3_runtime/${ARCH}The reason for this change is that having a global namespace forincludes isn't a good idea. It defeats one of the advantages of havingfolders and it introduces problems that are sometimes subtle (becauseyou may not know the header you are actually including if there are twoof them).For example, this patch had to be created because two headers werecalled the same way: e0ea0928d5b7 ("Fix gpio includes of mt8173 platformto avoid collision."). More recently, this patch has had similarproblems: 46f9b2c3a282 ("drivers: add tzc380 support").This problem was introduced in commit 4ecca33988b9 ("Move include andsource files to logical locations"). At that time, there weren't toomany headers so it wasn't a real issue. However, time has shown thatthis creates problems.Platforms that want to preserve the way they include headers may add theremoved paths to PLAT_INCLUDES, but this is discouraged.Change-Id: I39dc53ed98f9e297a5966e723d1936d6ccf2fc8fSigned-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
context_mgmt: Fix MISRA defectsThe macro EL_IMPLEMENTED() has been deprecated in favour of the newfunction el_implemented().Change-Id: Ic9b1b81480b5e019b50a050e8c1a199991bf0ca9Signed-off-by: An
context_mgmt: Fix MISRA defectsThe macro EL_IMPLEMENTED() has been deprecated in favour of the newfunction el_implemented().Change-Id: Ic9b1b81480b5e019b50a050e8c1a199991bf0ca9Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Use SPDX license identifiersTo make software license auditing simpler, use SPDX[0] licenseidentifiers instead of duplicating the license text in every file.NOTE: Files that have been imported by
Use SPDX license identifiersTo make software license auditing simpler, use SPDX[0] licenseidentifiers instead of duplicating the license text in every file.NOTE: Files that have been imported by FreeBSD have not been modified.[0]: https://spdx.org/Change-Id: I80a00e1f641b8cc075ca5a95b10607ed9ed8761aSigned-off-by: dp-arm <dimitris.papastamos@arm.com>
AArch32: Add support in TF librariesThis patch adds AArch32 support to cpu ops, context management,per-cpu data and spinlock libraries. The `entrypoint_info`structure is modified to add support f
AArch32: Add support in TF librariesThis patch adds AArch32 support to cpu ops, context management,per-cpu data and spinlock libraries. The `entrypoint_info`structure is modified to add support for AArch32 registerarguments. The CPU operations for AEM generic cpu in AArch32mode is also added.Change-Id: I1e52e79f498661d8f31f1e7b3a29e222bc7a4483