Skip to content

Commit

Permalink
Blackfin: BF54x: tweak DMAC MMR naming to match other ports
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
  • Loading branch information
Mike Frysinger committed Aug 6, 2010
1 parent ba3f597 commit 2b73a19
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions arch/blackfin/mach-bf548/include/mach/cdefBF54x_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -301,10 +301,10 @@

/* DMAC0 Registers */

#define bfin_read_DMAC0_TCPER() bfin_read16(DMAC0_TCPER)
#define bfin_write_DMAC0_TCPER(val) bfin_write16(DMAC0_TCPER, val)
#define bfin_read_DMAC0_TCCNT() bfin_read16(DMAC0_TCCNT)
#define bfin_write_DMAC0_TCCNT(val) bfin_write16(DMAC0_TCCNT, val)
#define bfin_read_DMAC0_TC_PER() bfin_read16(DMAC0_TC_PER)
#define bfin_write_DMAC0_TC_PER(val) bfin_write16(DMAC0_TC_PER, val)
#define bfin_read_DMAC0_TC_CNT() bfin_read16(DMAC0_TC_CNT)
#define bfin_write_DMAC0_TC_CNT(val) bfin_write16(DMAC0_TC_CNT, val)

/* DMA Channel 0 Registers */

Expand Down Expand Up @@ -1155,10 +1155,10 @@

/* DMAC1 Registers */

#define bfin_read_DMAC1_TCPER() bfin_read16(DMAC1_TCPER)
#define bfin_write_DMAC1_TCPER(val) bfin_write16(DMAC1_TCPER, val)
#define bfin_read_DMAC1_TCCNT() bfin_read16(DMAC1_TCCNT)
#define bfin_write_DMAC1_TCCNT(val) bfin_write16(DMAC1_TCCNT, val)
#define bfin_read_DMAC1_TC_PER() bfin_read16(DMAC1_TC_PER)
#define bfin_write_DMAC1_TC_PER(val) bfin_write16(DMAC1_TC_PER, val)
#define bfin_read_DMAC1_TC_CNT() bfin_read16(DMAC1_TC_CNT)
#define bfin_write_DMAC1_TC_CNT(val) bfin_write16(DMAC1_TC_CNT, val)

/* DMA Channel 12 Registers */

Expand Down
8 changes: 4 additions & 4 deletions arch/blackfin/mach-bf548/include/mach/defBF54x_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@

/* DMAC0 Registers */

#define DMAC0_TCPER 0xffc00b0c /* DMA Controller 0 Traffic Control Periods Register */
#define DMAC0_TCCNT 0xffc00b10 /* DMA Controller 0 Current Counts Register */
#define DMAC0_TC_PER 0xffc00b0c /* DMA Controller 0 Traffic Control Periods Register */
#define DMAC0_TC_CNT 0xffc00b10 /* DMA Controller 0 Current Counts Register */

/* DMA Channel 0 Registers */

Expand Down Expand Up @@ -688,8 +688,8 @@

/* DMAC1 Registers */

#define DMAC1_TCPER 0xffc01b0c /* DMA Controller 1 Traffic Control Periods Register */
#define DMAC1_TCCNT 0xffc01b10 /* DMA Controller 1 Current Counts Register */
#define DMAC1_TC_PER 0xffc01b0c /* DMA Controller 1 Traffic Control Periods Register */
#define DMAC1_TC_CNT 0xffc01b10 /* DMA Controller 1 Current Counts Register */

/* DMA Channel 12 Registers */

Expand Down

0 comments on commit 2b73a19

Please sign in to comment.