Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Software for White Rabbit PTP Core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
32
Issues
32
List
Board
Labels
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Software for White Rabbit PTP Core
Commits
774d9cee
Commit
774d9cee
authored
Apr 20, 2022
by
Peter Jansweijer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
repair, squash with initial sit5359 device addition
parent
c7b2a945
Pipeline
#3586
failed with stage
in 2 minutes and 5 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
board.c
boards/spec7/board.c
+5
-4
No files found.
boards/spec7/board.c
View file @
774d9cee
...
...
@@ -57,7 +57,7 @@ struct
{
struct
gpio_device
gpio_aux
;
struct
spi_bus
spi_ltc6950
;
struct
ltc695
0
_device
ltc6950_pll
;
struct
ltc695
x
_device
ltc6950_pll
;
struct
wr_sit5359_interface_device
sit5359
;
int
pll_wr_mode
;
...
...
@@ -336,15 +336,13 @@ int wrc_board_early_init()
/* create and initialize UID eeprom I2C bus */
i2c_eeprom_create
(
&
wrc_uid_dev
,
&
i2c_wrc_eeprom
,
UID_EEPROM_ADR
,
1
);
wr_sit5359_interface_init
(
&
board
.
sit5359
,
(
void
*
)
BASE_SIT5359_INTERFACE
,
SIT5359_I2C_ADDR
);
wr_sit5359_interface_init
(
&
board
.
sit5359
,
BASE_SIT5359_INTERFACE
,
SIT5359_I2C_ADDR
);
return
0
;
}
int
wrc_board_init
()
{
int
i
;
uint32_t
rfreq
;
uint8_t
regs
[
6
];
// set I2C bus speed and OSC Output enable
...
...
@@ -362,6 +360,9 @@ int wrc_board_init()
board_dbg
(
"SiT5359 Regs: %x:%x:%x:%x:%x:%x
\n
"
,
regs
[
0
],
regs
[
1
],
regs
[
2
],
regs
[
3
],
regs
[
4
],
regs
[
5
]);
/*
int i;
uint32_t rfreq;
// loop through frequency control word
for(i = 0; i < 65536; i ++)
{
...
...
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