Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sami Nurmenniemi
u-boot-stm32
Commits
56736804
Commit
56736804
authored
Apr 04, 2013
by
Sergei Poselenov
Browse files
RT #83999. Enable Port E for Port F (K70 Errata #5234).
parent
28f70db4
Changes
1
Hide whitespace changes
Inline
Side-by-side
cpu/arm_cortexm3/kinetis/clock.c
View file @
56736804
...
...
@@ -966,6 +966,10 @@ int kinetis_periph_enable(kinetis_clock_gate_t gate, int enable)
scgc
=
&
KINETIS_SIM
->
scgc
[
KINETIS_CG_REG
(
gate
)];
mask
=
1
<<
KINETIS_CG_IDX
(
gate
);
if
(
gate
==
KINETIS_CG_PORTF
&&
enable
)
{
/* K70 Errata #5234 */
mask
|=
(
1
<<
KINETIS_CG_IDX
(
KINETIS_CG_PORTE
));
}
if
(
enable
)
*
scgc
|=
mask
;
else
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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