From 8134c3aa7503615bc142ec177ec175952376a5e0 Mon Sep 17 00:00:00 2001
From: henryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>
Date: Tue, 18 Mar 2008 18:40:55 +0000
Subject: Add new hardware revision, make it the default

git-svn-id: https://svn.openpcd.org:2342/trunk@471 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
---
 openpicc/config/board.c | 9 +++++++++
 openpicc/config/board.h | 5 ++++-
 2 files changed, 13 insertions(+), 1 deletion(-)

(limited to 'openpicc/config')

diff --git a/openpicc/config/board.c b/openpicc/config/board.c
index b730809..48423b9 100644
--- a/openpicc/config/board.c
+++ b/openpicc/config/board.c
@@ -48,6 +48,15 @@ const struct openpicc_hardware OPENPICC_HARDWARE[] = {
 				AT91C_PIO_PA31,
 				AT91C_PIO_PA30,
 			},
+		[OPENPICC_v0_4_karsten]	   = {OPENPICC_v0_4_karsten, 
+				"OpenPICC v0.4 (Karsten's edition)",
+				{1, 1, 0,},
+				CLOCK_SELECT_CARRIER,
+				AT91C_PIO_PA5,
+				AT91C_PIO_PA4,
+				AT91C_PIO_PA31,
+				-1,
+			},
 };
 
 const struct openpicc_hardware *OPENPICC;
diff --git a/openpicc/config/board.h b/openpicc/config/board.h
index 55a965b..0fa6858 100644
--- a/openpicc/config/board.h
+++ b/openpicc/config/board.h
@@ -59,10 +59,13 @@ enum openpicc_release {
 	 				   * + PLL_LOCK relocated from PA4 to PA5
 	 				   * + Copy of FRAME routed to PA4 
 	 				   * + Connection between R18 and 3V3 removed, instead R18 is now connected to PA31*/
-	OPENPICC_v0_4_p2, /* Enhancement of v0.1p1, Add:
+	OPENPICC_v0_4_p2, /* Enhancement of v0.4p1, Add:
 					   * + CARRIER can be switched from PLL output to original carrier
 					   *   using PA30
 					   */
+	OPENPICC_v0_4_karsten, /* Combination of p1 and p2:
+							* + Has everything v0.4p1 has
+							* + CARRIER is fixed to original carrier, PLL ist completely out of the loop*/
 };
 enum clock_source { 
 	CLOCK_SELECT_PLL,
-- 
cgit v1.2.3