powerpc/85xx: Cleanup QE initialization for MPC85xxMDS boards
authorAnton Vorontsov <avorontsov@mvista.com>
Tue, 8 Jun 2010 09:55:57 +0000 (09:55 +0000)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 4 Aug 2010 19:16:12 +0000 (14:16 -0500)
commit99d8238f5fb1dfe225042aea708337fcb7e8de55
treeb114d2edfb2b20ea5cde6a592161e47046c99e13
parentdee9ad718b4f0009a4170c178f7171c7b1f06f92
powerpc/85xx: Cleanup QE initialization for MPC85xxMDS boards

The mpc85xx_mds_setup_arch() function is incomprehensible
and unmaintainable. Factor out all QE specific stuff into
mpc85xx_mds_qe_init() and mpc85xx_mds_reset_ucc_phys().

Also move QE stuff out of mpc85xx_mds_pic_init().

The diff is unreadable, but only because the code was so. ;-)
It should be better now, and less indented.

Signed-off-by: Anton Vorontsov <avorontsov@mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/platforms/85xx/mpc85xx_mds.c