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
9ea4fe6a
Commit
9ea4fe6a
authored
Jun 03, 2020
by
Manish Pandey
Committed by
TrustedFirmware Code Review
Jun 03, 2020
Browse files
Merge "ti: k3: common: Implement stub system_off" into integration
parents
23751114
42d9b3aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
plat/ti/k3/common/k3_psci.c
View file @
9ea4fe6a
...
@@ -203,6 +203,13 @@ void k3_pwr_domain_on_finish(const psci_power_state_t *target_state)
...
@@ -203,6 +203,13 @@ void k3_pwr_domain_on_finish(const psci_power_state_t *target_state)
k3_gic_cpuif_enable
();
k3_gic_cpuif_enable
();
}
}
static
void
__dead2
k3_system_off
(
void
)
{
ERROR
(
"System Off: operation not handled.
\n
"
);
while
(
true
)
wfi
();
}
static
void
__dead2
k3_system_reset
(
void
)
static
void
__dead2
k3_system_reset
(
void
)
{
{
/* Send the system reset request to system firmware */
/* Send the system reset request to system firmware */
...
@@ -232,6 +239,7 @@ static const plat_psci_ops_t k3_plat_psci_ops = {
...
@@ -232,6 +239,7 @@ static const plat_psci_ops_t k3_plat_psci_ops = {
.
pwr_domain_on
=
k3_pwr_domain_on
,
.
pwr_domain_on
=
k3_pwr_domain_on
,
.
pwr_domain_off
=
k3_pwr_domain_off
,
.
pwr_domain_off
=
k3_pwr_domain_off
,
.
pwr_domain_on_finish
=
k3_pwr_domain_on_finish
,
.
pwr_domain_on_finish
=
k3_pwr_domain_on_finish
,
.
system_off
=
k3_system_off
,
.
system_reset
=
k3_system_reset
,
.
system_reset
=
k3_system_reset
,
.
validate_power_state
=
k3_validate_power_state
,
.
validate_power_state
=
k3_validate_power_state
,
.
validate_ns_entrypoint
=
k3_validate_ns_entrypoint
.
validate_ns_entrypoint
=
k3_validate_ns_entrypoint
...
...
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