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
4
Merge Requests
4
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
57f015ae
Commit
57f015ae
authored
Apr 15, 2022
by
Peter Jansweijer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add HPSEC to Kconfig
parent
909f03a5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
Kconfig
Kconfig
+6
-0
board.c
boards/spec7/board.c
+2
-5
No files found.
Kconfig
View file @
57f015ae
...
...
@@ -66,6 +66,12 @@ config TARGET_SPEC7
help
Simple PCIe FMC carrier 7 (Zynq-7000)
config TARGET_HPSEC
depends on TARGET_SPEC7
bool "HPSEC"
help
SPEC7 (Zynq-7000) with High Precision Secondairy External Clock
config TARGET_PXIE_FMC
bool "ZU7 PXIe FMC Carrier"
help
...
...
boards/spec7/board.c
View file @
57f015ae
...
...
@@ -63,9 +63,6 @@ static struct ltc695x_config ltc6950_ext_10mhz_config =
timeout_t
pll_even_odd_timeout
;
timeout_t
pll_sync_timeout
;
//#define CONFIG_HPSEC_GM
#undef CONFIG_HPSEC_GM
//volatile struct softpll_state softpll;
void
board_pre_pll_lock
(
int
wrc_ptp_mode
)
...
...
@@ -78,7 +75,7 @@ void board_pre_pll_lock(int wrc_ptp_mode)
case
WRC_MODE_GM
||
WRC_MODE_ABSCAL
:
// Default reference design locks local VCXO to external 10 MHz
pll_wr_mode
=
PLL_WR_MODE_SLAVE
;
#if defined(CONFIG_
HPSEC_GM
)
#if defined(CONFIG_
TARGET_HPSEC
)
// When HPSEC is used in GM mode then HPSEC locks to external
// 10 MHz via LTC6950 and WRC_MODE *must* be free running master.
// Note: WRC_MODE_GM tries to align the local VCXO with the
...
...
@@ -88,7 +85,7 @@ void board_pre_pll_lock(int wrc_ptp_mode)
break
;
case
WRC_MODE_MASTER
:
pll_wr_mode
=
PLL_WR_MODE_MASTER
;
#if defined(CONFIG_
HPSEC_GM
)
#if defined(CONFIG_
TARGET_HPSEC
)
// When HPSEC is used in GM mode then HPSEC locks to external
// 10 MHz via LTC6950 and WRC_MODE *must* be free running master.
pll_wr_mode
=
PLL_WR_MODE_GM
;
...
...
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