Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 321234
b: refs/heads/master
c: b9ccfda
h: refs/heads/master
v: v3
  • Loading branch information
Shimoda, Yoshihiro authored and Paul Mundt committed Jul 26, 2012
1 parent b27ccbb commit 3c69b7a
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a3fd869a6425082f6014ded43684508602319900
refs/heads/master: b9ccfda293ee6fca9a89a1584f0900e0627b975e
2 changes: 2 additions & 0 deletions trunk/arch/sh/include/cpu-sh4/cpu/sh7757.h
Original file line number Diff line number Diff line change
Expand Up @@ -283,5 +283,7 @@ enum {
SHDMA_SLAVE_RIIC8_RX,
SHDMA_SLAVE_RIIC9_TX,
SHDMA_SLAVE_RIIC9_RX,
SHDMA_SLAVE_RSPI_TX,
SHDMA_SLAVE_RSPI_RX,
};
#endif /* __ASM_SH7757_H__ */
14 changes: 14 additions & 0 deletions trunk/arch/sh/kernel/cpu/sh4a/setup-sh7757.c
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,20 @@ static const struct sh_dmae_slave_config sh7757_dmae1_slaves[] = {
TS_INDEX2VAL(XMIT_SZ_8BIT),
.mid_rid = 0x42,
},
{
.slave_id = SHDMA_SLAVE_RSPI_TX,
.addr = 0xfe480004,
.chcr = SM_INC | 0x800 | 0x40000000 |
TS_INDEX2VAL(XMIT_SZ_16BIT),
.mid_rid = 0xc1,
},
{
.slave_id = SHDMA_SLAVE_RSPI_RX,
.addr = 0xfe480004,
.chcr = DM_INC | 0x800 | 0x40000000 |
TS_INDEX2VAL(XMIT_SZ_16BIT),
.mid_rid = 0xc2,
},
};

static const struct sh_dmae_slave_config sh7757_dmae2_slaves[] = {
Expand Down

0 comments on commit 3c69b7a

Please sign in to comment.