Re: [U-Boot] [PATCH] at91_pit: Fix AT91_PIT_MR_PIV_MASK macro

2010-09-03 Thread Reinhard Meyer
Alexander Stein schrieb:
 Signed-off-by: Alexander Stein alexander.st...@systec-electronic.com
 ---
  arch/arm/include/asm/arch-at91/at91_pit.h |2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)
Applied to u-boot-atmel/next
Thanks,
Reinhard

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH] at91_pit: Fix AT91_PIT_MR_PIV_MASK macro

2010-08-04 Thread Alexander Stein
Signed-off-by: Alexander Stein alexander.st...@systec-electronic.com
---
 arch/arm/include/asm/arch-at91/at91_pit.h |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/include/asm/arch-at91/at91_pit.h 
b/arch/arm/include/asm/arch-at91/at91_pit.h
index 5615a02..61aca79 100644
--- a/arch/arm/include/asm/arch-at91/at91_pit.h
+++ b/arch/arm/include/asm/arch-at91/at91_pit.h
@@ -25,7 +25,7 @@ typedef struct at91_pit {
 
 #defineAT91_PIT_MR_IEN 0x0200
 #defineAT91_PIT_MR_EN  0x0100
-#defineAT91_PIT_MR_PIV_MASK(x  0x000f)
+#defineAT91_PIT_MR_PIV_MASK(x) (x  0x000f)
 #defineAT91_PIT_MR_PIV(x)  (x  AT91_PIT_MR_PIV_MASK)
 
 #ifdef CONFIG_AT91_LEGACY
-- 
1.7.1

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot