powerpc/85xx: Rework MPC8536 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>
Showing
- arch/powerpc/cpu/mpc85xx/cpu_init.c 5 additions, 7 deletionsarch/powerpc/cpu/mpc85xx/cpu_init.c
- arch/powerpc/cpu/mpc85xx/mpc8536_serdes.c 33 additions, 33 deletionsarch/powerpc/cpu/mpc85xx/mpc8536_serdes.c
- arch/powerpc/include/asm/fsl_serdes.h 1 addition, 0 deletionsarch/powerpc/include/asm/fsl_serdes.h
- include/configs/MPC8536DS.h 1 addition, 0 deletionsinclude/configs/MPC8536DS.h
Loading
Please register or sign in to comment