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
e65d3f45
Commit
e65d3f45
authored
Sep 13, 2019
by
Soby Mathew
Committed by
TrustedFirmware Code Review
Sep 13, 2019
Browse files
Merge "Assert if power level value greater then PSCI_INVALID_PWR_LVL" into integration
parents
c428fbae
0c411c78
Changes
1
Show whitespace changes
Inline
Side-by-side
lib/psci/psci_common.c
View file @
e65d3f45
...
@@ -193,6 +193,7 @@ static unsigned int get_power_on_target_pwrlvl(void)
...
@@ -193,6 +193,7 @@ static unsigned int get_power_on_target_pwrlvl(void)
pwrlvl
=
psci_get_suspend_pwrlvl
();
pwrlvl
=
psci_get_suspend_pwrlvl
();
if
(
pwrlvl
==
PSCI_INVALID_PWR_LVL
)
if
(
pwrlvl
==
PSCI_INVALID_PWR_LVL
)
pwrlvl
=
PLAT_MAX_PWR_LVL
;
pwrlvl
=
PLAT_MAX_PWR_LVL
;
assert
(
pwrlvl
<
PSCI_INVALID_PWR_LVL
);
return
pwrlvl
;
return
pwrlvl
;
}
}
...
...
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