]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
powerpc/85xx: Rework P1022 SERDES is_serdes_configured support
authorKumar Gala <galak@kernel.crashing.org>
Sun, 11 Jul 2010 17:41:46 +0000 (12:41 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 21 Jul 2010 05:40:20 +0000 (00:40 -0500)
commit47ec10c5975f0ce8f4a748c7b76c45c0fb60c0ac
tree31dba9a9d0ba2c1b0149f5fab00c66f59326027c
parentaf0250652a775799da656f74719bdefb45fda7d5
powerpc/85xx: Rework P1022 SERDES is_serdes_configured support

Move serdes init until after we are in ram so we can keep track of a
global static protocal map for the particular serdes config we are in.
This makes is_serdes_configured() much simplier and not constantly
reading registers to determine if a given device is enabled based on the
protocol.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/cpu/mpc85xx/p1022_serdes.c
include/configs/P1022DS.h