From 19381f024b01413d83cec1655c3fc4c9c09ae274 Mon Sep 17 00:00:00 2001 From: Bryan Wu Date: Mon, 21 May 2007 18:09:31 +0800 Subject: Blackfin arch: update blackfin header files to latest one in VDSP. a) add new processor BF52x/BF54x header files b) update blackfin BF533/BF537/BF561 header files to latest one in VDSP. c) scrub watchdog/rtc masks from headers as we dont need/want them (too generic and the drivers dont use them) Signed-off-by: Mike Frysinger Signed-off-by: Roy Huang Signed-off-by: Sonic Zhang Signed-off-by: Bryan Wu Signed-off-by: Linus Torvalds --- include/asm-blackfin/mach-bf537/cdefBF534.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'include/asm-blackfin/mach-bf537/cdefBF534.h') diff --git a/include/asm-blackfin/mach-bf537/cdefBF534.h b/include/asm-blackfin/mach-bf537/cdefBF534.h index d4d3663c110..84e58fa73dc 100644 --- a/include/asm-blackfin/mach-bf537/cdefBF534.h +++ b/include/asm-blackfin/mach-bf537/cdefBF534.h @@ -399,6 +399,12 @@ static __inline__ void bfin_write_VR_CTL(unsigned int val) #define bfin_write_EBIU_SDSTAT(val) bfin_write16(EBIU_SDSTAT,val) /* DMA Traffic Control Registers */ +#define bfin_read_DMA_TC_PER() bfin_read16(DMA_TC_PER) +#define bfin_write_DMA_TC_PER(val) bfin_write16(DMA_TC_PER,val) +#define bfin_read_DMA_TC_CNT() bfin_read16(DMA_TC_CNT) +#define bfin_write_DMA_TC_CNT(val) bfin_write16(DMA_TC_CNT,val) + +/* Alternate deprecated register names (below) provided for backwards code compatibility */ #define bfin_read_DMA_TCPER() bfin_read16(DMA_TCPER) #define bfin_write_DMA_TCPER(val) bfin_write16(DMA_TCPER,val) #define bfin_read_DMA_TCCNT() bfin_read16(DMA_TCCNT) @@ -1075,8 +1081,6 @@ static __inline__ void bfin_write_VR_CTL(unsigned int val) #define bfin_write_CAN_UCRC(val) bfin_write16(CAN_UCRC,val) #define bfin_read_CAN_UCCNF() bfin_read16(CAN_UCCNF) #define bfin_write_CAN_UCCNF(val) bfin_write16(CAN_UCCNF,val) -#define bfin_read_CAN_SFCMVER2() bfin_read16(CAN_SFCMVER2) -#define bfin_write_CAN_SFCMVER2(val) bfin_write16(CAN_SFCMVER2,val) /* Mailbox Acceptance Masks */ #define bfin_read_CAN_AM00L() bfin_read16(CAN_AM00L) -- cgit v1.2.3