powerpc/mpc5200: Add PSC helpers for bestcomm engine
authorGrant Likely <grant.likely@secretlab.ca>
Wed, 2 Jul 2008 03:38:16 +0000 (21:38 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Sat, 12 Jul 2008 18:10:53 +0000 (12:10 -0600)
commit7ba6d6dc8d58c49cff0533819195b44fb35d6ece
treec5877a1ca8ecc3e03774571099e006afa67ab10d
parent75195dabce797f49b7d96d272e4e9330873e4340
powerpc/mpc5200: Add PSC helpers for bestcomm engine

Simplify the interface for setting up bestcomm DMA to PSCs by adding
some helper functions.  The helper function sets the correct values
for the initator and ipr values in PSC DMA tasks based on the PSC
number.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
arch/powerpc/sysdev/bestcomm/gen_bd.c
arch/powerpc/sysdev/bestcomm/gen_bd.h