[U-Boot-Users] [PATCH 3/7] 83xx: serdes setup routines

Kim Phillips kim.phillips at freescale.com
Thu Mar 20 02:13:56 CET 2008


On Tue, 18 Mar 2008 16:52:29 +0300
Anton Vorontsov <avorontsov at ru.mvista.com> wrote:

> On Tue, Mar 18, 2008 at 11:28:20AM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote:
> > On 23:19 Fri 14 Mar     , Anton Vorontsov wrote:
> > > This patch adds few routines to configure serdes on 837x targets.
> > > 
> > > Signed-off-by: Anton Vorontsov <avorontsov at ru.mvista.com>
> > > ---
> > >  cpu/mpc83xx/Makefile         |    1 +
> > >  cpu/mpc83xx/serdes.c         |  156 ++++++++++++++++++++++++++++++++++++++++++
> > >  include/asm-ppc/fsl_serdes.h |   25 +++++++
> > >  3 files changed, 182 insertions(+), 0 deletions(-)
> > >  create mode 100644 cpu/mpc83xx/serdes.c
> > >  create mode 100644 include/asm-ppc/fsl_serdes.h
> > > 
> > > diff --git a/cpu/mpc83xx/Makefile b/cpu/mpc83xx/Makefile
> > > index 7ad7e3e..6b6b027 100644
> > > --- a/cpu/mpc83xx/Makefile
> > > +++ b/cpu/mpc83xx/Makefile
> > > @@ -39,6 +39,7 @@ COBJS-y += ecc.o
> > >  COBJS-$(CONFIG_QE) += qe_io.o
> > >  COBJS-$(CONFIG_83XX_GENERIC_PCI) += pci.o
> > >  COBJS-$(CONFIG_OF_LIBFDT) += fdt.o
> > > +COBJS-$(CONFIG_FSL_SERDES) += serdes.o
> > Please keep it sort
> 
> Keeping cobjs in alphabetical order sounds weird to me, plus as
> far as I can see, current Makefile tried to keep things in this
> (sane) order:
> 
> start.S
> COBJS += core (traps, cpu)
> COBJS += "less" important code (speed, sdram, ..)
> COBJS += auxiliary/not so important (pci, fdt, ....)
> 
> [Almost] the same order in which the code will be executed.
> 
> Though, in this case I should place SERDES above FDT, near the PCI.
> 
> 
> Anyhow, firstly I'd like to know what Kim is thinking about all
> this?

sorry, I was out for a while.

I personally don't have a problem with COBJS not in alpha order.

Alpha order is something Wolfgang has brought up in the past, seemingly
more appropriately, i.e. for things like board names in the main
Makefile and MAKEALL.

Kim




More information about the U-Boot mailing list