fix(cpufeat): add ras files to the build from a common locationIf ENABLE_FEAT_RAS is unset on the build commandline the platform.mkwill run and make its decisions with the flag unset, after which
fix(cpufeat): add ras files to the build from a common locationIf ENABLE_FEAT_RAS is unset on the build commandline the platform.mkwill run and make its decisions with the flag unset, after whicharch_features.mk will run and enable the feature. The result in the RAScase is a build failure due to missing symbols.Nvidia works around this by setting ENABLE_FEAT_RAS manually despite thearch_features.mk setting.Every platform that enables ENABLE_FEAT_RAS also pulls instd_err_record.c and ras_common.c. So fix the build failure by havingthese files be pulled into the build from common code in bl31.mk.Change-Id: I018869d3f1904821523ac88d70e88eb90959784bSigned-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
show more ...
fix: replace stray BL2_AT_EL3 with RESET_TO_BL2For FVP, patch 259b67c08 should have used the latter but introduced theformer. That was a mistake, correct it.The nuvoton platform seems to have co
fix: replace stray BL2_AT_EL3 with RESET_TO_BL2For FVP, patch 259b67c08 should have used the latter but introduced theformer. That was a mistake, correct it.The nuvoton platform seems to have copied arm_def.h and would have beenmissed at some point. Update that too.Change-Id: I28123186bb4b69c5d5154dcdd24e5dee9d9e33b8Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
refactor(arm): unify SPSR retrieval logicConsolidate platform-specific SPSR setup logic into a singlearm_get_spsr() function that accepts an image_id to select between BL32and BL33. This reduces
refactor(arm): unify SPSR retrieval logicConsolidate platform-specific SPSR setup logic into a singlearm_get_spsr() function that accepts an image_id to select between BL32and BL33. This reduces duplication and simplifies control over SPSRgeneration for later stages, particularly BL33.The SPD remains responsible for setting the SPSR for BL32.Change-Id: Ibbba708d607e7676989f5c7ceffe33d7bb2195f1Signed-off-by: Harrison Mutai <harrison.mutai@arm.com>
feat(auth): introducing auth.mkIntroducing authentication specific makefile auth.mk to include commonauth source files.Signed-off-by: Lauren Wehrmeister <lauren.wehrmeister@arm.com>Change-Id: I
feat(auth): introducing auth.mkIntroducing authentication specific makefile auth.mk to include commonauth source files.Signed-off-by: Lauren Wehrmeister <lauren.wehrmeister@arm.com>Change-Id: Ifb07c48861fe415d82cb7390c3a5f6e60ba699d9
refactor: make arm_gicv2.c and arm_gicv3.c commonThese files were meant to be platform specific, but they are genericenough that a range of platforms find them useful. However, refactoringthem is
refactor: make arm_gicv2.c and arm_gicv3.c commonThese files were meant to be platform specific, but they are genericenough that a range of platforms find them useful. However, refactoringthem is difficult as their use is platform specific. So copy them to ageneric place and redirect platforms to them.The new copies will remain for compatibility for platforms that don'twant to or can't take up upcoming refactors and the old copies can bedrastically refactored to make them more widely applicable.Change-Id: I056c8710cdda4d8a81b324d392762c29e02cdae1Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
chore(docs): drop the "wfi" from `pwr_domain_pwr_down_wfi`To allow for generic handling of a wakeup, this hook is no longerexpected to call wfi itself. Update the name everywhere to reflect thise
chore(docs): drop the "wfi" from `pwr_domain_pwr_down_wfi`To allow for generic handling of a wakeup, this hook is no longerexpected to call wfi itself. Update the name everywhere to reflect thisexpectation so that future platform implementers don't get misled.Change-Id: Ic33f0b6da74592ad6778fd802c2f0b85223af614Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
fix(build): include platform mk earlierMove platform.mk inclusion in top level Makefile to permit a platformspecifying BRANCH_PROTECTION option.Signed-off-by: Olivier Deprez <olivier.deprez@arm.
fix(build): include platform mk earlierMove platform.mk inclusion in top level Makefile to permit a platformspecifying BRANCH_PROTECTION option.Signed-off-by: Olivier Deprez <olivier.deprez@arm.com>Change-Id: I1f662f82cd949eedfdbb61b9f66de15c46fb3106
fix(nuvoton): prevent changing clock frequencyprevent changing clock frequency already set in BootBlock based on PLL valueChange-Id: I8b4b53448cc8e703fd88ad6166f85a4fe3ba9e46Signed-off-by: Marga
fix(nuvoton): prevent changing clock frequencyprevent changing clock frequency already set in BootBlock based on PLL valueChange-Id: I8b4b53448cc8e703fd88ad6166f85a4fe3ba9e46Signed-off-by: Margarita Glushkin <rutigl@gmail.com>
fix(nuvoton): gfx frame buffer memory corruption during secondary bootgfx frame buffer memory corruption because of moving TF-A to DDRChange-Id: I6f1e0c8d048273b8047497adec631160aaf393d6Signed-o
fix(nuvoton): gfx frame buffer memory corruption during secondary bootgfx frame buffer memory corruption because of moving TF-A to DDRChange-Id: I6f1e0c8d048273b8047497adec631160aaf393d6Signed-off-by: Margarita Glushkin <rutigl@gmail.com>
chore(npcm845x): remove CryptoCell-712/713 supportCryptoCell-712 and CryptoCell-713 drivers have been deprecated. Removetheir usage on Nuvoton npcm845x platform (maintainers confirmed thatthis re
chore(npcm845x): remove CryptoCell-712/713 supportCryptoCell-712 and CryptoCell-713 drivers have been deprecated. Removetheir usage on Nuvoton npcm845x platform (maintainers confirmed thatthis removal is fine with them).Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>Change-Id: I0e3f3431558aaea1e0f2740e7088cdc155d06af2
refactor(arm): allow platform specific SiP supportThis patch introduces handler to add support for SiP calls to behandled at EL3 for Arm platforms.Consequently, the support for SPMD LSP is moved
refactor(arm): allow platform specific SiP supportThis patch introduces handler to add support for SiP calls to behandled at EL3 for Arm platforms.Consequently, the support for SPMD LSP is moved to correspondingArm platform SiP source file. This will allow us to add supportfor a new SiP call in subsequent patch.Change-Id: Ie29cb57fc622f96be3b67bebf34ce37cc82947d8Signed-off-by: Madhukar Pappireddy <madhukar.pappireddy@arm.com>
chore(npcm845x): remove pauth_helpers.S additions in platform makefileCurrently 'pauth_helpers.S' is added if pauth is enabled from mainlevel makefile.Change-Id: I33800e280daea6dba6d11e2c494101b
chore(npcm845x): remove pauth_helpers.S additions in platform makefileCurrently 'pauth_helpers.S' is added if pauth is enabled from mainlevel makefile.Change-Id: I33800e280daea6dba6d11e2c494101b369cd8a0bSigned-off-by: Govindraj Raja <govindraj.raja@arm.com>
fix(nuvoton): fix typo in platform.mkFix typo of SPMD_SPM_AT_SEL2 in platform.mkSigned-off-by: Margarita Glushkin <rutigl@gmail.com>Change-Id: I06cfe2f1f0783edff513d83fef08eeed5f4fc58b
feat(nuvoton): added support for npcm845x chipInitial versionSigned-off-by: Margarita Glushkin <rutigl@gmail.com>Change-Id: If433d325a90b519ae5f02411865bffd368ff2824