[U-Boot] [PATCH 05/11] at91: Fix pdc register names and add some defines

Alexander Stein alexander.stein at systec-electronic.com
Mon Nov 1 09:29:49 CET 2010


Signed-off-by: Alexander Stein <alexander.stein at systec-electronic.com>
---
 arch/arm/include/asm/arch-at91/at91_pdc.h |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/arch/arm/include/asm/arch-at91/at91_pdc.h b/arch/arm/include/asm/arch-at91/at91_pdc.h
index 42f87ca..2ee6c9d 100644
--- a/arch/arm/include/asm/arch-at91/at91_pdc.h
+++ b/arch/arm/include/asm/arch-at91/at91_pdc.h
@@ -28,12 +28,17 @@ typedef struct at91_pdc {
 	u32	rcr;		/* 0x104 Receive Counter Register */
 	u32	tpr;		/* 0x108 Transmit Pointer Register */
 	u32	tcr;		/* 0x10C Transmit Counter Register */
-	u32	pnpr;		/* 0x110 Receive Next Pointer Register */
-	u32	pncr;		/* 0x114 Receive Next Counter Register */
+	u32	rnpr;		/* 0x110 Receive Next Pointer Register */
+	u32	rncr;		/* 0x114 Receive Next Counter Register */
 	u32	tnpr;		/* 0x118 Transmit Next Pointer Register */
 	u32	tncr;		/* 0x11C Transmit Next Counter Register */
 	u32	ptcr;		/* 0x120 Transfer Control Register */
 	u32	ptsr;		/* 0x124 Transfer Status Register */
 } at91_pdc_t;
 
+#define AT91_PDC_PTCR_RXTEN		0x00000001
+#define AT91_PDC_PTCR_RXTDIS	0x00000002
+#define AT91_PDC_PTCR_TXTEN		0x00000100
+#define AT91_PDC_PTCR_TXTDIS	0x00000200
+
 #endif
-- 
1.7.2.2



More information about the U-Boot mailing list