aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-01-15Makefile: Add FEAT_RNG support defineTomas Pilar
Define ENABLE_FEAT_RNG that describes whether the armv8.5 FEAT_RNG is supported in this build. This allows conditional inclusion of code targetting RNDR and RNDRRS registers. Signed-off-by: Tomas Pilar <tomas@nuviainc.com> Change-Id: Idd632f8b9bc20ea3d8793f55ead88fa12cb08821
2021-01-15Define registers for FEAT_RNG supportTomas Pilar
Add ISAR0 feature register read helper, location of FEAT_RNG bits, feature support helper and the rndr/rndrrs register read helpers. Signed-off-by: Tomas Pilar <tomas@nuviainc.com> Change-Id: I2a785a36f62a917548e55892ce92fa8b72fcb99d
2021-01-15Merge changes from topic "certtool-memleak" into integrationSandrine Bailleux
* changes: Use preallocated parts of the HASH struct Free arguments copied with strdup Free keys after use Free X509_EXTENSIONs
2021-01-15Merge "tools: don't clean when building" into integrationSandrine Bailleux
2021-01-14Merge changes I36e4d672,I47610cee into integrationLauren Wehrmeister
* changes: Workaround for Cortex N1 erratum 1946160 Workaround for Cortex A78 erratum 1951500
2021-01-14Merge changes Ie8922309,I1001bea1,I66265e5e,I2cc0ceda,I04805d72, ... into ↵Madhukar Pappireddy
integration * changes: plat: renesas: common: Include ulcb_cpld.h conditionally plat: renesas: Move to common plat: renesas: aarch64: Move to common drivers: renesas: Move ddr/qos/qos header files drivers: renesas: rpc: Move to common drivers: renesas: avs: Move to common drivers: renesas: auth: Move to common drivers: renesas: dma: Move to common drivers: renesas: watchdog: Move to common drivers: renesas: rom: Move to common drivers: renesas: delay: Move to common drivers: renesas: console: Move to common drivers: renesas: pwrc: Move to common drivers: renesas: io: Move to common drivers: renesas: eMMC: Move to common
2021-01-14Merge changes Id2b1822c,Ia9a563a1,I11f65d49,If9318a51,I46801b56, ... into ↵Madhukar Pappireddy
integration * changes: drivers: renesas: Move plat common sources plat: renesas: Move headers and assembly files to common folder plat: renesas: rcar: include: Code cleanup plat: renesas:rcar: Fix checkpatch warnings plat: renesas: rcar: Fix checkpatch warnings plat: renesas:rcar: Code cleanup plat: renesas: rcar: Fix coding style
2021-01-14Merge "docs: update fvp version to be used for rdv1 platform" into integrationMadhukar Pappireddy
2021-01-14docs: marvell: armada: Update MARVELL_PLATFORM list and build instructionsLuka Kovacic
The supported MARVELL_PLATFORM list is updated to include the recently added a80x0_puzzle platform (IEI Puzzle-M801). Additionally building instructions are added for the GST ESPRESSObin-Ultra board (1 GB, DDR4 RAM variant), which has been tested successfully and booted TF-A on the board. Signed-off-by: Luka Kovacic <luka.kovacic@sartura.hr> Change-Id: Ie5724df27c1ee2e8f6a52664520579e872471e93
2021-01-13Workaround for Cortex N1 erratum 1946160johpow01
Cortex N1 erratum 1946160 is a Cat B erratum present in r0p0, r1p0, r2p0, r3p0, r3p1, r4p0, and r4p1. The workaround is to insert a DMB ST before acquire atomic instructions without release semantics. This issue is present starting from r0p0 but this workaround applies to revisions r3p0, r3p1, r4p0, and r4p1, for previous revisions there is no workaround. SDEN can be found here: https://documentation-service.arm.com/static/5fa9304cd8dacc30eded464f Signed-off-by: John Powell <john.powell@arm.com> Change-Id: I36e4d6728c275f1c2477dcee9b351077cf7c53e4
2021-01-13Workaround for Cortex A78 erratum 1951500johpow01
Cortex A78 erratum 1951500 is a Cat B erratum that applies to revisions r0p0, r1p0, and r1p1. The workaround is to insert a DMB ST before acquire atomic instructions without release semantics. This workaround works on revisions r1p0 and r1p1, in r0p0 there is no workaround. SDEN can be found here: https://documentation-service.arm.com/static/5fb66157ca04df4095c1cc2e Signed-off-by: John Powell <john.powell@arm.com> Change-Id: I47610cee75af6a127ea65edc4d5cffc7e6a2d0a3
2021-01-13doc: renesas: Update RZ/G2 code owner listBiju Das
Add Lad Prabhakar as the code owner for the newly added RZ/G2 platforms. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Change-Id: Ic9bacaf31d653e1e553fa70043053805f56a2b84
2021-01-13doc: renesas: Update code owner for Renesas platformsBiju Das
Add Marek Vasut as the code owner for the common code shared by both Renesas R-Car and RZ/G2 platforms. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Change-Id: I3c0a402f4663ffcf4d2df408a3ccd4d1a8629b3a
2021-01-13plat: renesas: rzg: DT memory node enhancementsBiju Das
Add DT node support for channel 0 where physical memory is split between 32bit space and 64bit space. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Change-Id: I99a18dbb14cdb54100a836c16445242e430794e3
2021-01-13doc: renesas: Document platforms based on RZ/G2 SoC'sBiju Das
Document the platforms based on RZ/G2 SoC's. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Change-Id: I9ce5b9df3573b1198c5c7be79b5471d54573609a
2021-01-13renesas: rzg: emmc: Enable RZ/G2M supportBiju Das
Enable eMMC driver support for RZ/G2M SoC. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Change-Id: I34803060c5b592ac24720b11d4a8cd3f9f40caee
2021-01-13renesas: rzg: Add PFC support for RZ/G2MBiju Das
Add pin control support for RZ/G2M SoC. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Change-Id: I08719015cab1ec59e2270523980a0a3e26e72c01
2021-01-13plat: renesas: rzg: Add HopeRun HiHope RZ/G2M board supportBiju Das
The HiHope RZ/G2M board from HopeRun consists of main board (HopeRun HiHope RZ/G2M main board) and sub board(HopeRun HiHope RZ/G2M sub board). The HiHope RZ/G2M sub board sits below the HiHope RZ/G2M main board. This patch adds the required board support to boot HopeRun HiHope RZ/G2M board. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Change-Id: I3ed55aa4a2cc5c9d9cd6440e087bcd93186520c7
2021-01-13drivers: renesas: rzg: Add HiHope RZ/G2M board supportBiju Das
Add support for HiHope RZ/G2M board. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Change-Id: Ic8eed0729a42aeee94fc96d16b15b928232488a3
2021-01-13tools: renesas: Add tool support for RZ/G2 platformsBiju Das
Add tool support for creating bootparam and cert_header images for RZ/G2 SoC based platforms. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Change-Id: Iab8ba6eda442c8d75f23c5633b8178f86339e4c9
2021-01-13renesas: rzg: Add QoS support for RZ/G2MBiju Das
Add QoS support for RZ/G2M SoC. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Change-Id: If541278fd629761cc83398bba71e63f09d9dbee6
2021-01-13docs: update fvp version to be used for rdv1 platformAditya Angadi
Move RD-V1 platform to use version of FVP_RD_Daniel from 11.10 build 36 to 11.13 build 10 Signed-off-by: Aditya Angadi <aditya.angadi@arm.com> Change-Id: I9622c03d342bb780234dec8ffe4ab11d8069acab
2021-01-13tools: don't clean when buildingRoss Burton
Don't depend on clean when building, as the user is capable of cleaning if required and this introduces a race where "all" depends on both the compile and the clean in parallel. It's quite possible for some of the compile to happen in parallel with the clean, which results in the link failing as objects just built are missing. Change-Id: I710711eea7483cafa13251c5d94ec693148bd001 Signed-off-by: Ross Burton <ross.burton@arm.com>
2021-01-13plat: renesas: common: Include ulcb_cpld.h conditionallyBiju Das
Include header ulcb_cpld.h in plat_pm.c only if RCAR_GEN3_ULCB is enabled. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Change-Id: Ie89223097c608265c50e32778e8df28feed82480
2021-01-13renesas: rzg: Add support for DRAM initializationBiju Das
Add support for initializing DRAM on RZ/G2M SoC. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Change-Id: I99f1a6971a061a44687af498d55306a93e4fc8f7
2021-01-13plat: renesas: Move to commonBiju Das
Move rcar plat code to common directory, so that the same code can be re-used by both R-Car Gen3 and RZ/G2 platforms. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Change-Id: I1001bea1a8a9232a03ddbf6931ca3c764ba1e181
2021-01-13plat: renesas: aarch64: Move to commonBiju Das
Move plat aarch64 code to common directory, so that the same code can be re-used by both R-Car Gen3 and RZ/G2 platforms. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Change-Id: I66265e5e68bfcf5c3534965fb3549a145c782b47
2021-01-13drivers: renesas: Move ddr/qos/qos header filesBiju Das
Move DDR/QoS/PFC header files, so that the same code can be re-used by both R-Car Gen3 and RZ/G2 platforms. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Change-Id: I2cc0ceda8d05b6b8d95a69afdc233dc0d098e850
2021-01-13drivers: renesas: rpc: Move to commonBiju Das
Move rpc driver code to common directory, so that the same code can be re-used by both R-Car Gen3 and RZ/G2 platforms. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Change-Id: I04805d720d95b8edcc14e652f897fadc7f432197
2021-01-13drivers: renesas: avs: Move to commonBiju Das
Move avs driver code to common directory, so that the same code can be re-used by both R-Car Gen3 and RZ/G2 platforms. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Change-Id: I85d9fa8b6abf158ce2521f1696478f7c5339fc42
2021-01-13drivers: renesas: auth: Move to commonBiju Das
Move authentication driver code to common directory, so that the same code can be re-used by both R-Car Gen3 and RZ/G2 platforms. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Change-Id: I02592dfc714998bf89b9feaa78f685ae36be6f59
2021-01-13drivers: renesas: dma: Move to commonBiju Das
Move dma driver code to common directory, so that the same code can be re-used by both R-Car Gen3 and RZ/G2 platforms. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Change-Id: Idce2e2f4e098cfc17219f963373d20ebf74e5b7c
2021-01-13drivers: renesas: watchdog: Move to commonBiju Das
Move watch driver code to common directory, so that the same code can be re-used by both R-Car Gen3 and RZ/G2 platforms. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Change-Id: I235f2cde325a0feeadbfc4b7ee02e8b1186f7ea1
2021-01-13drivers: renesas: Move plat common sourcesBiju Das
Move plat common sources to common directory, so that same code can be re-used by both R-Car Gen3 and RZ/G2 platforms. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Change-Id: Id2b1822c97cc50e3febaffc2e5f42b4d53809a17
2021-01-13drivers: renesas: rom: Move to commonBiju Das
Move rom driver code to common directory, so that the same code can be re-used by both R-Car Gen3 and RZ/G2 platforms. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Change-Id: I399dfb5eff186db76d26fa9c54bea88bee66789c
2021-01-13plat: renesas: Move headers and assembly files to common folderBiju Das
Create a common directory and move the header and assembly files so that the common code can be used by both Renesas R-Car Gen3 and RZ/G2 platforms. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Change-Id: Ia9a563a1c3c9f8c6f0d3cb82622deb2e155d7f6c
2021-01-13drivers: renesas: delay: Move to commonBiju Das
Move delay driver code to common directory, so that the same code can be re-used by both R-Car Gen3 and RZ/G2 platforms. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Change-Id: I5e806bd0e0a0a4b436048513b7089db90ff9805f
2021-01-13plat: renesas: rcar: include: Code cleanupBiju Das
This patch fixes checkpatch warnings and replaces TAB with space after #define macros. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Change-Id: I11f65d494997cbf612376fb120c27ef0166cdd3a
2021-01-13drivers: renesas: console: Move to commonBiju Das
Move console/scif driver code to common directory, so that the same code can be re-used by both R-Car Gen3 and RZ/G2 platforms. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Change-Id: I0b15e4f4ffaaa99e77bcee32b1dad648eeadcd9b
2021-01-13plat: renesas:rcar: Fix checkpatch warningsBiju Das
Fix checkpatch warnings. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Change-Id: If9318a5113fbd6ae8b5c4bfb409da9e393673258
2021-01-13drivers: renesas: pwrc: Move to commonBiju Das
Move pwrc driver code to common directory, so that the same code can be re-used by both R-Car Gen3 and RZ/G2 platforms. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Change-Id: I75d91a44d872fe2296b15c700efacd5721385363
2021-01-13plat: renesas: rcar: Fix checkpatch warningsBiju Das
Fix checkpatch warnings. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Change-Id: I46801b563c887dc0a66e224ab4971e6503641529
2021-01-13drivers: renesas: io: Move to commonBiju Das
Move io driver code to common directory, so that the same code can be re-used by both R-Car Gen3 and RZ/G2 platforms. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Change-Id: Ic661e415c91a1fbfd5eee3bba86466037e51574b
2021-01-13plat: renesas:rcar: Code cleanupBiju Das
Sort the header includes alphabetically, fix typos and drop unneeded TAB and replace it with space Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Change-Id: Ieff84434877f58ec26c8351611059ad4e11a4e28
2021-01-13drivers: renesas: eMMC: Move to commonBiju Das
Move eMMC driver code to common directory, so that the same code can be re-used by both R-Car Gen3 and RZ/G2 platforms. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Change-Id: I7f3055709337327d1a1c9f563c14ad1626adb355
2021-01-13plat: renesas: rcar: Fix coding styleBiju Das
Sort the header includes alphabetically and fix checkpatch warnings. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Change-Id: I08fd0d12ee1d8d61391e8afc33f8c67fcf70c4e5
2021-01-13Merge "qemu/qemu_sbsa: enable secure variable storage" into integrationManish Pandey
2021-01-13qemu/qemu_sbsa: enable secure variable storageMasahisa Kojima
This implements support for UEFI secure variable storage using standalone MM framework on qemu_sbsa platform. Non-secure shared memory between UEFI and standalone MM is allocated at the top of DRAM. DRAM size of qemu_sbsa varies depends on the QEMU parameter, so the non-secure shared memory is allocated by trusted firmware and passed the base address and size to UEFI through device tree "/reserved-memory" node. Change-Id: I367191f408eb9850b7ec7761ee346b014c539767 Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
2021-01-12Merge "Workaround for Cortex A78 erratum 1941498" into integrationbipin.ravi
2021-01-12Workaround for Cortex A78 erratum 1941498johpow01
Cortex A78 erratum 1941498 is a Cat B erratum that applies to revisions r0p0, r1p0, and r1p1. The workaround is to set bit 8 in the ECTLR_EL1 register, there is a small performance cost (<0.5%) for setting this bit. SDEN can be found here: https://documentation-service.arm.com/static/5fb66157ca04df4095c1cc2e Signed-off-by: John Powell <john.powell@arm.com> Change-Id: I959cee8e3d46c1b84ff5e4409ce5945e459cc6a9