refactor: convert arm platforms to use the generic GIC driverThis reduces the code the platforms have to carry and makes their buildrules a bit simpler.The main benefit is that plat_my_core_pos(
refactor: convert arm platforms to use the generic GIC driverThis reduces the code the platforms have to carry and makes their buildrules a bit simpler.The main benefit is that plat_my_core_pos() no longer needs to be calledwithin the driver, helping with performance a bit.Change-Id: I0b0d1d36d20d67c41c8c9dc14ade11bda6d4a6afSigned-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
show more ...
plat/arm: remove weak implemention of 'plat_arm_psci_override_pm_ops' functionIn order to allow Arm platforms to override the default list of PSCIcallbacks, remove the existing weak implementation
plat/arm: remove weak implemention of 'plat_arm_psci_override_pm_ops' functionIn order to allow Arm platforms to override the default list of PSCIcallbacks, remove the existing weak implementation of'plat_arm_psci_override_pm_ops' function and let all the Arm platformsimplement their own 'plat_arm_psci_override_pm_ops' function.For platforms that support SCMI protocol, the function'css_scmi_override_pm_ops' can be additionally used as well tooverride the default PSCI callbacks.Change-Id: If7c27468bd51a00ea9c2a3716b5894163f5a9f3cSigned-off-by: Chandni Cherukuri <chandni.cherukuri@arm.com>
plat/arm: Move norflash driver to drivers/ folderThis way it can be reused by other platforms if needed.Note that this driver is designed to work with the Versatile Express NORflash of Juno and
plat/arm: Move norflash driver to drivers/ folderThis way it can be reused by other platforms if needed.Note that this driver is designed to work with the Versatile Express NORflash of Juno and FVP. In said platforms, the memory is organized as aninterleaved memory of two chips with a 16 bit word.Any platform that wishes to reuse it with a different configuration willneed to modify the driver so that it is more generic.Change-Id: Ic721758425864e0cf42b7b9b04bf0d9513b6022eSigned-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
mem_protect: Add mem_protect support in Juno and FVP for DRAM1mem_protect needs some kind of non-volatile memory because it hasto remember its state across reset and power down events.The most su
mem_protect: Add mem_protect support in Juno and FVP for DRAM1mem_protect needs some kind of non-volatile memory because it hasto remember its state across reset and power down events.The most suitable electronic part for this feature is a NVRAMwhich should be only accesible from the secure world. Juno andFVP lack such hardware and for this reason the MEM_PROTECTfunctionality is implemented with Flash EEPROM memory on bothboards, even though this memory is accesible from the non-secureworld. This is done only to show a full implementation ofthese PSCI features, but an actual system shouldn't use anon-secure NVRAM to implement it.The EL3 runtime software will write the mem_protect flag and BL2will read and clear the memory ranges if enabled. It is done inBL2 because it reduces the time that TF needs access to the fullnon-secure memory.The memory layout of both boards is defined using macros whichtake different values in Juno and FVP platforms. Generic platformhelpers are added that use the platform specific macros to generatea mem_region_t that is valid for the platform.Change-Id: I2c6818ac091a2966fa07a52c5ddf8f6fde4941e9Signed-off-by: Roberto Vargas <roberto.vargas@arm.com>
Split CSS makefile for sp_min on JunoThis patch factors out common files required for sp_min for all CSSplatforms from the JUNO specific makefile to a the new `css_sp_min.mk`makefile. This also a
Split CSS makefile for sp_min on JunoThis patch factors out common files required for sp_min for all CSSplatforms from the JUNO specific makefile to a the new `css_sp_min.mk`makefile. This also allows the common build options that affect CSSplatforms to be configured in a central makefile for sp_min.Change-Id: Ida952d8833b1aa5eda77ae0a6664a4632aeab24cSigned-off-by: Soby Mathew <soby.mathew@arm.com>
Juno: Fix AArch32 sp_min buildThe commit abd2aba99ef108e0d0bb5d71c0b6e9c47ca26377 introduced aregression to the AArch32 sp_min Juno build. This patch fixes that.Change-Id: I4b141717684d6aee60c76
Juno: Fix AArch32 sp_min buildThe commit abd2aba99ef108e0d0bb5d71c0b6e9c47ca26377 introduced aregression to the AArch32 sp_min Juno build. This patch fixes that.Change-Id: I4b141717684d6aee60c761ea17f23170aa6708c3Signed-off-by: Soby Mathew <soby.mathew@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 SP_MIN support for JUNOThis patch adds support for SP_MIN on JUNO platform.The changes include addition of AArch32 assembly files,JUNO specific SP_MIN make file and miscellaneous cha
AArch32: Add SP_MIN support for JUNOThis patch adds support for SP_MIN on JUNO platform.The changes include addition of AArch32 assembly files,JUNO specific SP_MIN make file and miscellaneous changesin ARM platform files to enable support for SP_MIN.Change-Id: Id1303f422fc9b98b9362c757b1a4225a16fffc0bSigned-off-by: Yatharth Kochar <yatharth.kochar@arm.com>Signed-off-by: dp-arm <dimitris.papastamos@arm.com>