OSDN Git Service

dma: mpc512x: reorder mpc8308 specific instructions
authorAlexander Popov <a13xp0p0v88@gmail.com>
Wed, 23 Apr 2014 13:53:23 +0000 (17:53 +0400)
committerVinod Koul <vinod.koul@intel.com>
Fri, 2 May 2014 17:06:21 +0000 (22:36 +0530)
commit78a4f0367a1de89c625237fc5524f4ef4535f031
tree48a297a150a650d83b820f4e212aa538a55284b3
parent2a5ecb7918d72183f0292266026d077cd2c8d3ed
dma: mpc512x: reorder mpc8308 specific instructions

Concentrate the specific code for MPC8308 in the 'if' branch
and handle MPC512x in the 'else' branch.
This modification only reorders instructions but doesn't change behaviour.

Signed-off-by: Alexander Popov <a13xp0p0v88@gmail.com>
Acked-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/mpc512x_dma.c