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

Kumar Gala galak at kernel.crashing.org
Wed Jul 21 07:39:56 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/p1022_serdes.c |   38 ++++++++++++++++++++++---------
> include/configs/P1022DS.h               |    1 +
> 2 files changed, 28 insertions(+), 11 deletions(-)

applied to 85xx

- k


More information about the U-Boot mailing list