Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
24d7deb8
Commit
24d7deb8
authored
5 years ago
by
Manish Pandey
Committed by
TrustedFirmware Code Review
5 years ago
Browse files
Options
Download
Plain Diff
Merge "rpi3/4: Add support for offlining CPUs" into integration
parents
0a910952
9e78cb18
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
plat/rpi/common/rpi3_pm.c
+10
-0
plat/rpi/common/rpi3_pm.c
with
10 additions
and
0 deletions
+10
-0
plat/rpi/common/rpi3_pm.c
View file @
24d7deb8
...
...
@@ -123,6 +123,15 @@ static void rpi3_pwr_domain_off(const psci_power_state_t *target_state)
#endif
}
void
__dead2
plat_secondary_cold_boot_setup
(
void
);
static
void
__dead2
rpi3_pwr_domain_pwr_down_wfi
(
const
psci_power_state_t
*
target_state
)
{
disable_mmu_el3
();
plat_secondary_cold_boot_setup
();
}
/*******************************************************************************
* Platform handler called when a power domain is about to be turned on. The
* mpidr determines the CPU to be turned on.
...
...
@@ -224,6 +233,7 @@ static void __dead2 rpi3_system_off(void)
static
const
plat_psci_ops_t
plat_rpi3_psci_pm_ops
=
{
.
cpu_standby
=
rpi3_cpu_standby
,
.
pwr_domain_off
=
rpi3_pwr_domain_off
,
.
pwr_domain_pwr_down_wfi
=
rpi3_pwr_domain_pwr_down_wfi
,
.
pwr_domain_on
=
rpi3_pwr_domain_on
,
.
pwr_domain_on_finish
=
rpi3_pwr_domain_on_finish
,
.
system_off
=
rpi3_system_off
,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help