powerpc/mpc85xx:Avoid hardcoded init for serdes block 1 & 2
authorPrabhakar Kushwaha <prabhakar@freescale.com>
Wed, 31 Jul 2013 11:26:41 +0000 (16:56 +0530)
committerYork Sun <yorksun@freescale.com>
Wed, 14 Aug 2013 17:57:49 +0000 (10:57 -0700)
commita4c955bc3b23a38dc2c5c60b655a4d01eff93cec
treec9e16650876d0e19ca66649e01d9e090cfc376bd
parentb98d934128bcd98106e764d2f492ac79c38ae53d
powerpc/mpc85xx:Avoid hardcoded init for serdes block 1 & 2

It is not necessary for all processor to have serdes block 1 & 2.
They may have only one serdes block.

So, put serdes block 1 & 2 related code under defines

Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
Acked-by: York Sun <yorksun@freescale.com>
arch/powerpc/cpu/mpc85xx/fsl_corenet2_serdes.c
arch/powerpc/include/asm/config_mpc85xx.h