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
48b6f178
Commit
48b6f178
authored
May 28, 2020
by
Mark Dykes
Committed by
TrustedFirmware Code Review
May 28, 2020
Browse files
Merge "drivers: stm32mp1 clocks: enable system clocks during initialization" into integration
parents
9b9c1f3d
033b6c3a
Changes
1
Show whitespace changes
Inline
Side-by-side
drivers/st/clk/stm32mp1_clk.c
View file @
48b6f178
...
...
@@ -2009,6 +2009,23 @@ static void stm32mp1_osc_init(void)
static
void
sync_earlyboot_clocks_state
(
void
)
{
unsigned
int
idx
;
const
unsigned
long
secure_enable
[]
=
{
AXIDCG
,
BSEC
,
DDRC1
,
DDRC1LP
,
DDRC2
,
DDRC2LP
,
DDRCAPB
,
DDRPHYCAPB
,
DDRPHYCAPBLP
,
DDRPHYC
,
DDRPHYCLP
,
TZC1
,
TZC2
,
TZPC
,
STGEN_K
,
};
for
(
idx
=
0U
;
idx
<
ARRAY_SIZE
(
secure_enable
);
idx
++
)
{
stm32mp_clk_enable
(
secure_enable
[
idx
]);
}
if
(
!
stm32mp_is_single_core
())
{
stm32mp1_clk_enable_secure
(
RTCAPB
);
}
...
...
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