mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-05-08 10:08:47 +00:00
PSCI: Build option to enable D-Caches early in warmboot
This patch introduces a build option to enable D-cache early on the CPU after warm boot. This is applicable for platforms which do not require interconnect programming to enable cache coherency (eg: single cluster platforms). If this option is enabled, then warm boot path enables D-caches immediately after enabling MMU. Fixes ARM-Software/tf-issues#456 Change-Id: I44c8787d116d7217837ced3bcf0b1d3441c8d80e Signed-off-by: Soby Mathew <soby.mathew@arm.com>
This commit is contained in:
parent
9423f8eca7
commit
bcc3c49c90
7 changed files with 50 additions and 31 deletions
|
@ -302,7 +302,7 @@ void psci_cpu_suspend_finish(unsigned int cpu_idx,
|
|||
*/
|
||||
psci_plat_pm_ops->pwr_domain_suspend_finish(state_info);
|
||||
|
||||
#if !HW_ASSISTED_COHERENCY
|
||||
#if !(HW_ASSISTED_COHERENCY || WARMBOOT_ENABLE_DCACHE_EARLY)
|
||||
/* Arch. management: Enable the data cache, stack memory maintenance. */
|
||||
psci_do_pwrup_cache_maintenance();
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue