Standardise header guards across codebaseAll identifiers, regardless of use, that start with two underscores arereserved. This means they can't be used in header guards.The style that this proje
Standardise header guards across codebaseAll identifiers, regardless of use, that start with two underscores arereserved. This means they can't be used in header guards.The style that this project is now to use the full name of the file incapital letters followed by 'H'. For example, for a file called"uart_example.h", the header guard is UART_EXAMPLE_H.The exceptions are files that are imported from other projects:- CryptoCell driver- dt-bindings folders- zlib headersChange-Id: I50561bf6c88b491ec440d0c8385c74650f3c106eSigned-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
show more ...
mediatek: Migrate to new interfaces- mt6795: Migrate to new GIC interfaces.- Remove support for PSCI platform compatibility layer.- Migrate to bl31_early_platform_setup2().- Migrate from cm_init
mediatek: Migrate to new interfaces- mt6795: Migrate to new GIC interfaces.- Remove support for PSCI platform compatibility layer.- Migrate to bl31_early_platform_setup2().- Migrate from cm_init_context() to cm_init_my_context().- Use PLAT_VIRT_ADDR_SPACE_SIZE and PLAT_PHY_ADDR_SPACE_SIZE.- Update Makefile paths.- Use private definition of bl31_params_t.This is an incomplete migration, mt6795 doesn't currently compile.Change-Id: Icf9307637066cd6f2166524715e4f117f5ce2350Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Make TF UUID RFC 4122 compliantRFC4122 defines that fields are stored in network order (big endian),but TF-A stores them in machine order (little endian by default in TF-A).We cannot change the f
Make TF UUID RFC 4122 compliantRFC4122 defines that fields are stored in network order (big endian),but TF-A stores them in machine order (little endian by default in TF-A).We cannot change the future UUIDs that are already generated, but we can storeall the bytes using arrays and modify fiptool to generate the UUIDs withthe correct byte order.Change-Id: I97be2d3168d91f4dee7ccfafc533ea55ff33e46fSigned-off-by: Roberto Vargas <roberto.vargas@arm.com>
Fix pointer type mismatch of handlersCommit 4c0d03907652 ("Rework type usage in Trusted Firmware") changedthe type usage in struct declarations, but did not touch the definitionside. Fix the typ
Fix pointer type mismatch of handlersCommit 4c0d03907652 ("Rework type usage in Trusted Firmware") changedthe type usage in struct declarations, but did not touch the definitionside. Fix the type mismatch.Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
plat: fix switch statements to comply with MISRA rulesEnsure (where possible) that switch statements in plat comply with MISRArules 16.1 - 16.7.Change-Id: Ie4a7d2fd10f6141c0cfb89317ea28a75539162
plat: fix switch statements to comply with MISRA rulesEnsure (where possible) that switch statements in plat comply with MISRArules 16.1 - 16.7.Change-Id: Ie4a7d2fd10f6141c0cfb89317ea28a755391622fSigned-off-by: Jonathan Wright <jonathan.wright@arm.com>
Fix order of remaining platform #includesThis fix modifies the order of system includes to meet the ARM TF codingstandard. There are some exceptions to this change in order to retainheader groupi
Fix order of remaining platform #includesThis fix modifies the order of system includes to meet the ARM TF codingstandard. There are some exceptions to this change in order to retainheader groupings and where there are headers within #if statements.Change-Id: Ib5b668c992d817cc860e97b29e16ef106d17e404Signed-off-by: Isla Mitchell <isla.mitchell@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>
Add console_core_flush() in upstream platformsIt is needed to add placeholders for this function because, as this isnot a `plat_xxx()` function, there aren't weak definitions of it in anyfile.I
Add console_core_flush() in upstream platformsIt is needed to add placeholders for this function because, as this isnot a `plat_xxx()` function, there aren't weak definitions of it in anyfile.If `console_flush()` is used and there isn't an implementation of`console_core_flush()` in any file, the compilation will fail.Change-Id: I50eb56d085c4c9fbc85d40c343e86af6412f3020Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Support for Mediatek MT6795 SoCThis patch support single core to boot to Linux kernelthrough Trusted Firmware.It also support 32 bit kernel and 64 bit kernel booting.
mt8173: Reorganize plat SiP functionsDue to the changes in Mediatek platform common code, we need to moveplat related SiP functions to plat folder.Change-Id: I6b14b988235205a5858b4bf49043bc79d05
mt8173: Reorganize plat SiP functionsDue to the changes in Mediatek platform common code, we need to moveplat related SiP functions to plat folder.Change-Id: I6b14b988235205a5858b4bf49043bc79d0512b06Signed-off-by: Jimmy Huang <jimmy.huang@mediatek.com>
Refactor MediaTek platform common codeRefactor MediaTek platform common code for further mt6795 upstream.
mt8173: Implement subsystem power control logic in ARM TF1. Add SiP calls for subsystem power on/off and check support2. Add subsystem power control related initialization in bl31_plat_setup.c
mt8173: Implement subsystem power control logic in ARM TF1. Add SiP calls for subsystem power on/off and check support2. Add subsystem power control related initialization in bl31_plat_setup.c3. Add subsystem power on/off and power ack waiting functions4. Update PCM code for subsystem physical power control logicChange-Id: Ia0ebb1964c8f9758159bcf17c1813d76ef52cf64Signed-off-by: yt.lee <yt.lee@mediatek.com>
Initial platform port for MediaTek mt8173- Boot up 4 cores.- Add a generic UART driver.- Add generic CPU helper functions- Supoort suspend- Add system_off & system_reset implementation- Add cr
Initial platform port for MediaTek mt8173- Boot up 4 cores.- Add a generic UART driver.- Add generic CPU helper functions- Supoort suspend- Add system_off & system_reset implementation- Add crash console reporting implementation- Add get_sys_suspend_power_state() for PSCI 1.0 SYSTEM_SUSPEND- Add Mediatek SIP runtime service- Add delay timer platform implementationChange-Id: I44138249f115ee10b9cbd26fdbc2dd3af04d825fSigned-off-by: CC Ma <cc.ma@mediatek.com>Signed-off-by: Jimmy Huang <jimmy.huang@mediatek.com>
123