From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kim Phillips Date: Wed, 19 Mar 2008 20:13:56 -0500 Subject: [U-Boot-Users] [PATCH 3/7] 83xx: serdes setup routines In-Reply-To: <20080318135229.GA21545@localhost.localdomain> References: <20080314201947.GC22581@localhost.localdomain> <20080318102820.GA28841@game.jcrosoft.org> <20080318135229.GA21545@localhost.localdomain> Message-ID: <20080319201356.857336d4.kim.phillips@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, 18 Mar 2008 16:52:29 +0300 Anton Vorontsov 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 > > > --- > > > 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