Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 209376
b: refs/heads/master
c: d92342d
h: refs/heads/master
v: v3
  • Loading branch information
Linus Walleij authored and Ben Dooks committed Aug 14, 2010
1 parent 83e4572 commit ce08149
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2d4a3b76cfc061eedec7f510e14ddc3b9399a741
refs/heads/master: d92342df2a06baa8f5d7bf609b0bc0dc87067e82
4 changes: 3 additions & 1 deletion trunk/arch/arm/include/asm/hardware/pl080.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

/* Per channel configuration registers */

#define PL008_Cx_STRIDE (0x20)
#define PL080_Cx_STRIDE (0x20)
#define PL080_Cx_BASE(x) ((0x100 + (x * 0x20)))
#define PL080_Cx_SRC_ADDR(x) ((0x100 + (x * 0x20)))
#define PL080_Cx_DST_ADDR(x) ((0x104 + (x * 0x20)))
Expand All @@ -68,6 +68,8 @@
#define PL080_CONTROL_TC_IRQ_EN (1 << 31)
#define PL080_CONTROL_PROT_MASK (0x7 << 28)
#define PL080_CONTROL_PROT_SHIFT (28)
#define PL080_CONTROL_PROT_CACHE (1 << 30)
#define PL080_CONTROL_PROT_BUFF (1 << 29)
#define PL080_CONTROL_PROT_SYS (1 << 28)
#define PL080_CONTROL_DST_INCR (1 << 27)
#define PL080_CONTROL_SRC_INCR (1 << 26)
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-s3c64xx/dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ static int s3c64xx_dma_init1(int chno, enum dma_ch chbase,
chptr->number = chno;
chptr->dmac = dmac;
chptr->regs = regptr;
regptr += PL008_Cx_STRIDE;
regptr += PL080_Cx_STRIDE;
}

/* for the moment, permanently enable the controller */
Expand Down

0 comments on commit ce08149

Please sign in to comment.