diff options
author | henryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2008-03-05 05:03:36 +0000 |
---|---|---|
committer | henryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2008-03-05 05:03:36 +0000 |
commit | 6304718e371e590b09e176c05df21fc5fb631cec (patch) | |
tree | 49004ef275322a779594d8ebd5d69c9da8ba1d4e /openpicc/config/board.h | |
parent | 3ee3c4a649545d1f132bca61cc7484f0d5c92638 (diff) |
Port over the differential miller decoder from the sniffonly host tool
Move clock switch to its own header file
Specify default (and for non-clock switching capable hardware: single) clock source in hardware definitions
git-svn-id: https://svn.openpcd.org:2342/trunk@443 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'openpicc/config/board.h')
-rw-r--r-- | openpicc/config/board.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/openpicc/config/board.h b/openpicc/config/board.h index ac6bf81..55a965b 100644 --- a/openpicc/config/board.h +++ b/openpicc/config/board.h @@ -64,6 +64,11 @@ enum openpicc_release { * using PA30 */ }; +enum clock_source { + CLOCK_SELECT_PLL, + CLOCK_SELECT_CARRIER, +}; + struct openpicc_hardware { enum openpicc_release release; char *release_name; @@ -72,6 +77,7 @@ struct openpicc_hardware { int clock_gating:1; int clock_switching:1; } features; + enum clock_source default_clock; int PLL_LOCK; |