Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ezynq
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
ezynq
Commits
2f4f6bc6
Commit
2f4f6bc6
authored
Sep 23, 2013
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
USB clock bug fix
parent
0bfed9b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
ezynq_clk.py
ezynq_clk.py
+11
-2
No files found.
ezynq_clk.py
View file @
2f4f6bc6
...
...
@@ -653,8 +653,17 @@ class EzynqClk:
sdi0_cpu_1x_clkact
=
'SDIO0'
in
self
.
iface_divs
# 0x1
gem1_cpu_1x_clkact
=
'GIGE1'
in
self
.
iface_divs
# 0x1
gem0_cpu_1x_clkact
=
'GIGE0'
in
self
.
iface_divs
# 0x1
usb1_cpu_1x_clkact
=
'USB1'
in
self
.
iface_divs
# 0x1
usb0_cpu_1x_clkact
=
'USB1'
in
self
.
iface_divs
# 0x1
usb1_cpu_1x_clkact
=
0
usb0_cpu_1x_clkact
=
0
for
iface
in
self
.
used_mio_interfaces
:
if
(
iface
[
'NAME'
]
==
'USB'
)
and
(
iface
[
'CHANNEL'
]
==
0
)
:
usb0_cpu_1x_clkact
=
1
if
(
iface
[
'NAME'
]
==
'USB'
)
and
(
iface
[
'CHANNEL'
]
==
1
)
:
usb1_cpu_1x_clkact
=
1
# for ii in self.iface_divs:
# print ii
# for ii in self.used_mio_interfaces:
# print ii
dma_cpu_2x_clkact
=
1
# 0x1
clk_register_set
.
set_bitfields
(
'aper_clk_ctrl'
,(
# AMBA peripherals clock control
# ('reserved1', 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