powerpc/mpc52xx_lpbfifo: optionally defer fifo transfer start
authorAnatolij Gustschin <agust@denx.de>
Wed, 29 Aug 2012 21:33:28 +0000 (21:33 +0000)
committerAnatolij Gustschin <agust@denx.de>
Fri, 14 Sep 2012 08:15:35 +0000 (10:15 +0200)
commit9d9fd8871b4136755160bf95a9abd0d23d738ddc
tree9eda535f9a3aea4ed39290ff1fb611035d3b9a7e
parent00e4b1975bbcd10445808cec0a3a1442e8deca53
powerpc/mpc52xx_lpbfifo: optionally defer fifo transfer start

Currently fifo transfer is started when submitting a transfer
request. Add posibility to defer the fifo transfer and start it
later by calling additional function. This change is backward
compatible, the behaviour of mpc52xx_lpbfifo_submit() is the same
for previous driver users, so there is no need to adapt them.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
arch/powerpc/include/asm/mpc52xx.h
arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c