Skip to content
GitLab
Menu
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
6ac1bb30
"...git@web.lueluesay.top:root/arm-trusted-firmware.git" did not exist on "6de8b24f52cf2bd74adefbaa86dd2a0676c3eaa2"
Commit
6ac1bb30
authored
May 21, 2020
by
Mark Dykes
Committed by
TrustedFirmware Code Review
May 21, 2020
Browse files
Merge "Tegra194: validate C6 power state type" into integration
parents
1a7aa3b3
bc693ecc
Changes
1
Hide whitespace changes
Inline
Side-by-side
plat/nvidia/tegra/soc/t194/plat_psci_handlers.c
View file @
6ac1bb30
...
@@ -73,6 +73,11 @@ int32_t tegra_soc_validate_power_state(uint32_t power_state,
...
@@ -73,6 +73,11 @@ int32_t tegra_soc_validate_power_state(uint32_t power_state,
switch
(
state_id
)
{
switch
(
state_id
)
{
case
PSTATE_ID_CORE_IDLE
:
case
PSTATE_ID_CORE_IDLE
:
if
(
psci_get_pstate_type
(
power_state
)
!=
PSTATE_TYPE_STANDBY
)
{
ret
=
PSCI_E_INVALID_PARAMS
;
break
;
}
/* Core idle request */
/* Core idle request */
req_state
->
pwr_domain_state
[
MPIDR_AFFLVL0
]
=
PLAT_MAX_RET_STATE
;
req_state
->
pwr_domain_state
[
MPIDR_AFFLVL0
]
=
PLAT_MAX_RET_STATE
;
req_state
->
pwr_domain_state
[
MPIDR_AFFLVL1
]
=
PSCI_LOCAL_STATE_RUN
;
req_state
->
pwr_domain_state
[
MPIDR_AFFLVL1
]
=
PSCI_LOCAL_STATE_RUN
;
...
...
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