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
137c8f01
Commit
137c8f01
authored
Aug 31, 2017
by
danh-arm
Committed by
GitHub
Aug 31, 2017
Browse files
Merge pull request #1069 from Leo-Yan/hikey_enable_watchdog_reset
Hikey: enable watchdog reset
parents
d818a02c
3506ff11
Changes
1
Hide whitespace changes
Inline
Side-by-side
plat/hisilicon/hikey/hisi_pwrc.c
View file @
137c8f01
...
...
@@ -75,8 +75,13 @@ int hisi_pwrc_setup(void)
pm_asm_code_end
-
pm_asm_code
);
reg
=
mmio_read_32
(
AO_SC_SYS_CTRL1
);
/* Remap SRAM address for ACPU */
reg
|=
AO_SC_SYS_CTRL1_REMAP_SRAM_AARM
|
AO_SC_SYS_CTRL1_REMAP_SRAM_AARM_MSK
;
/* Enable reset signal for watchdog */
reg
|=
AO_SC_SYS_CTRL1_AARM_WD_RST_CFG
|
AO_SC_SYS_CTRL1_AARM_WD_RST_CFG_MSK
;
mmio_write_32
(
AO_SC_SYS_CTRL1
,
reg
);
return
0
;
...
...
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