fix(rockchip): pmu: Do not mark already defined functions as weakThese functions are already defined as static functions in same headerFixes| plat/rockchip/common/drivers/pmu/pmu_com.h:35:14: er
fix(rockchip): pmu: Do not mark already defined functions as weakThese functions are already defined as static functions in same headerFixes| plat/rockchip/common/drivers/pmu/pmu_com.h:35:14: error: weak identifier 'pmu_power_domain_ctr' never declared [-Werror]| #pragma weak pmu_power_domain_ctr| ^| plat/rockchip/common/drivers/pmu/pmu_com.h:36:14: error: weak identifier 'check_cpu_wfie' never declared [-Werror]| #pragma weak check_cpu_wfie| ^Signed-off-by: Khem Raj <raj.khem@gmail.com>[fixed alignment in commit log][added fix(rockchip): prefix in commit title]Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>Change-Id: I96d4acbe743ba4b8996f0be0fa713b341bd4903c
show more ...
fix(tree): correct some typosfound using codespell (https://github.com/codespell-project/codespell).Signed-off-by: Elyes Haouas <ehaouas@noos.fr>Change-Id: I1bfa797e3460adddeefa916bb68e22beddaf6
fix(tree): correct some typosfound using codespell (https://github.com/codespell-project/codespell).Signed-off-by: Elyes Haouas <ehaouas@noos.fr>Change-Id: I1bfa797e3460adddeefa916bb68e22beddaf6373
rockchip: fix definition of struct param_ddr_usageIn extreme cases, the number of secure regions is one more thannon-secure regions. So array "s_base" and "s_top"s sizein struct param_ddr_usage n
rockchip: fix definition of struct param_ddr_usageIn extreme cases, the number of secure regions is one more thannon-secure regions. So array "s_base" and "s_top"s sizein struct param_ddr_usage need to be adjust to "DDR_REGION_NR_MAX + 1".Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>Change-Id: Ifc09da2c8f8afa1aebcc78f8fbc21ac95abdece2
rockchip: Allow socs with undefined wfe check bitsSome older socs like the rk3288 do not have the necessary registersto check the wfi/wfe state of the cpu cores. Allow this case an "just"do an ad
rockchip: Allow socs with undefined wfe check bitsSome older socs like the rk3288 do not have the necessary registersto check the wfi/wfe state of the cpu cores. Allow this case an "just"do an additional delay similar to how the Linux kernel handles smpright now.Signed-off-by: Heiko Stuebner <heiko@sntech.de>Change-Id: I0f67af388b06b8bfb4a9bac411b4900ac266a77a
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>
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>
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 identifiers for remaining filesChange-Id: I7f54f45db65f32481cc05e1bd2c9c683b756e19aSigned-off-by: dp-arm <dimitris.papastamos@arm.com>
Merge pull request #918 from rockchip-linux/rk3328rockchip: rk3328: support rk3328
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>
rockchip: rk3328: support rk3328rk3328 is a Quad-core soc and Cortex-a53 inside!This patch supports the following functions:1、power up/off cpus2、suspend/resume cpus3、suspend/resume system4、rese
rockchip: rk3328: support rk3328rk3328 is a Quad-core soc and Cortex-a53 inside!This patch supports the following functions:1、power up/off cpus2、suspend/resume cpus3、suspend/resume system4、reset system5、power off systemChange-Id: I60687058d13912c6929293b06fed9c6bc72bdc84Signed-off-by: tony.xie <tony.xie@rock-chips.com>
Fix incorrect copyright noticesSome files have incorrect copyright notices, this patch fixes allfiles with deviations from the standard notice.Change-Id: I66b73e78a50a235acb55f1e2ec2052a42c0570d
Fix incorrect copyright noticesSome files have incorrect copyright notices, this patch fixes allfiles with deviations from the standard notice.Change-Id: I66b73e78a50a235acb55f1e2ec2052a42c0570d2Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
rockchip: support the suspend/resume for rk33991.Fixes the suspend/resume some bugs.2.Add the power domain for saving power consumption.3.Add cpu clusters suspend for rk3399 SoCsChange-Id: Id60
rockchip: support the suspend/resume for rk33991.Fixes the suspend/resume some bugs.2.Add the power domain for saving power consumption.3.Add cpu clusters suspend for rk3399 SoCsChange-Id: Id602779016b41d6281f4ba40a20229d909b28e46
rockchip: support the suspend/resume for rk3399This patch adds to support the suspend/resume for rk3399 SoCs.Signed-off-by: Shengfei xu <xsf@rock-chips.com>Signed-off-by: Caesar Wang <wxt@rock-c
rockchip: support the suspend/resume for rk3399This patch adds to support the suspend/resume for rk3399 SoCs.Signed-off-by: Shengfei xu <xsf@rock-chips.com>Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Support for Rockchip's family SoCsThis patch adds to support the RK3368 and RK3399 SoCs.RK3368/RK3399 is one of the Rockchip family SoCs, which is anmulti-cores ARM SoCs.This patch adds suppor
Support for Rockchip's family SoCsThis patch adds to support the RK3368 and RK3399 SoCs.RK3368/RK3399 is one of the Rockchip family SoCs, which is anmulti-cores ARM SoCs.This patch adds support to boot the Trusted Firmware on RK3368/RK3399SoCs, and adds support to boot secondary CPUs, enter/exit corepower states for all CPUs in the slow/fast clusters.This is the initial version for rockchip SoCs.(RK3368/RK3399 and next SoCs)* Support arm gicv2 & gicv3.* Boot up multi-cores CPU.* Add generic CPU helper functions.* Support suspend/resume.* Add system_off & system_reset implementation.* Add delay timer platform implementation.* Support the new porting interface for the PSCI implementation.Change-Id: I704bb3532d65e8c70dbd99b512c5e6e440ea6f43Signed-off-by: Tony Xie <tony.xie@rock-chips.com>Signed-off-by: Caesar Wang <wxt@rock-chips.com>Signed-off-by: Shengfei xu <xsf@rock-chips.com>