diff options
| author | davidcunado-arm <david.cunado@arm.com> | 2017-03-17 12:34:37 +0000 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-03-17 12:34:37 +0000 | 
| commit | 510a9de79fe14460ec591bba4aa8790665c3f86a (patch) | |
| tree | e35d84d8351a885bf3154665b14554454e58d452 /lib/psci/psci_on.c | |
| parent | 28ee754d15a885c290a42827b5626df05f0a8676 (diff) | |
| parent | b0408e87f7dfbdfe3e00cd3c1421b2939dd209ca (diff) | |
Merge pull request #860 from jeenu-arm/hw-asstd-coh
Patches for platforms with hardware-assisted coherency
Diffstat (limited to 'lib/psci/psci_on.c')
| -rw-r--r-- | lib/psci/psci_on.c | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/lib/psci/psci_on.c b/lib/psci/psci_on.c index f4bb7978..675ed668 100644 --- a/lib/psci/psci_on.c +++ b/lib/psci/psci_on.c @@ -1,5 +1,5 @@  /* - * Copyright (c) 2013-2016, ARM Limited and Contributors. All rights reserved. + * Copyright (c) 2013-2017, ARM Limited and Contributors. All rights reserved.   *   * Redistribution and use in source and binary forms, with or without   * modification, are permitted provided that the following conditions are met: @@ -165,10 +165,12 @@ void psci_cpu_on_finish(unsigned int cpu_idx,  	 */  	psci_plat_pm_ops->pwr_domain_on_finish(state_info); +#if !HW_ASSISTED_COHERENCY  	/*  	 * Arch. management: Enable data cache and manage stack memory  	 */  	psci_do_pwrup_cache_maintenance(); +#endif  	/*  	 * All the platform specific actions for turning this cpu | 
