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
bd79727c
Unverified
Commit
bd79727c
authored
7 years ago
by
Dimitris Papastamos
Committed by
GitHub
7 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #1331 from hzhuang1/reboot_delay
hikey960: add delay before reset
parents
469744e6
7dcef5eb
master
v2.5
v2.5-rc1
v2.5-rc0
v2.4
v2.4-rc2
v2.4-rc1
v2.4-rc0
v2.3
v2.3-rc2
v2.3-rc1
v2.3-rc0
v2.2
v2.2-rc2
v2.2-rc1
v2.2-rc0
v2.1
v2.1-rc1
v2.1-rc0
v2.0
v2.0-rc0
v1.6
v1.6-rc1
v1.6-rc0
arm_cca_v0.2
arm_cca_v0.1
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
plat/hisilicon/hikey960/hikey960_pm.c
+4
-0
plat/hisilicon/hikey960/hikey960_pm.c
with
4 additions
and
0 deletions
+4
-0
plat/hisilicon/hikey960/hikey960_pm.c
View file @
bd79727c
...
...
@@ -9,6 +9,7 @@
#include <cci.h>
#include <console.h>
#include <debug.h>
#include <delay_timer.h>
#include <gicv2.h>
#include <hi3660.h>
#include <hi3660_crg.h>
...
...
@@ -114,6 +115,9 @@ void hikey960_pwr_domain_off(const psci_power_state_t *target_state)
static
void
__dead2
hikey960_system_reset
(
void
)
{
dsb
();
isb
();
mdelay
(
2000
);
mmio_write_32
(
SCTRL_SCPEREN1_REG
,
SCPEREN1_WAIT_DDR_SELFREFRESH_DONE_BYPASS
);
mmio_write_32
(
SCTRL_SCSYSSTAT_REG
,
0xdeadbeef
);
...
...
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