summaryrefslogtreecommitdiff
path: root/openpicc/config/board.c
diff options
context:
space:
mode:
authorhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2008-02-29 08:13:12 +0000
committerhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2008-02-29 08:13:12 +0000
commit4b03b310ffda11b017ce5166012a7139b09eee90 (patch)
tree7b817d822eda4c24cc813ea98f65a1d4a4f5f9c6 /openpicc/config/board.c
parent4dc2cb5b49115f5376f27ff736a7939247deb111 (diff)
Add information about new hardware patchlevel
git-svn-id: https://svn.openpcd.org:2342/trunk@433 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'openpicc/config/board.c')
-rw-r--r--openpicc/config/board.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/openpicc/config/board.c b/openpicc/config/board.c
index aaa1163..129cc37 100644
--- a/openpicc/config/board.c
+++ b/openpicc/config/board.c
@@ -23,17 +23,27 @@
const struct openpicc_hardware OPENPICC_HARDWARE[] = {
[OPENPICC_v0_4] = {OPENPICC_v0_4,
"OpenPICC v0.4", // release name
- {0, 0,}, // features: data_gating, clock_gating
+ {0, 0, 0,}, // features: data_gating, clock_gating, clock_switching
AT91C_PIO_PA4, // PLL_LOCK
-1, // CLOCK_GATE
-1, // DATA_GATE
+ -1, // CLOCK_SWITCH
},
[OPENPICC_v0_4_p1] = {OPENPICC_v0_4_p1,
"OpenPICC v0.4 patchlevel 1",
- {1, 1,},
+ {1, 1, 0,},
AT91C_PIO_PA5,
AT91C_PIO_PA4,
AT91C_PIO_PA31,
+ -1,
+ },
+ [OPENPICC_v0_4_p2] = {OPENPICC_v0_4_p2,
+ "OpenPICC v0.4 patchlevel 2",
+ {1, 1, 1,},
+ AT91C_PIO_PA5,
+ AT91C_PIO_PA4,
+ AT91C_PIO_PA31,
+ AT91C_PIO_PA30,
},
};
personal git repositories of Harald Welte. Your mileage may vary