[U-Boot] [PATCH] powerpc/85xx: Rework MPC8536 SERDES is_serdes_configured support

Kumar Gala galak at kernel.crashing.org
Wed Jul 21 07:39:49 CEST 2010


On Jul 11, 2010, at 12:48 PM, Kumar Gala wrote:

> 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 at kernel.crashing.org>
> ---
> arch/powerpc/cpu/mpc85xx/cpu_init.c       |   12 ++---
> arch/powerpc/cpu/mpc85xx/mpc8536_serdes.c |   66 ++++++++++++++--------------
> arch/powerpc/include/asm/fsl_serdes.h     |    1 +
> include/configs/MPC8536DS.h               |    1 +
> 4 files changed, 40 insertions(+), 40 deletions(-)

applied to 85xx

- k


More information about the U-Boot mailing list