From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH 2/3] 83xx: serdes setup routines
Date: Wed, 12 Mar 2008 23:54:39 +0100 [thread overview]
Message-ID: <20080312225439.GH18968@game.jcrosoft.org> (raw)
In-Reply-To: <20080307150739.GB22072@localhost.localdomain>
On 18:07 Fri 07 Mar , Anton Vorontsov wrote:
> This patch adds few routines to configure serdes on 837x targets.
>
> Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
> ---
> cpu/mpc83xx/Makefile | 2 +-
> cpu/mpc83xx/serdes.c | 161 ++++++++++++++++++++++++++++++++++++++++++++++++++
> include/fsl_serdes.h | 25 ++++++++
> 3 files changed, 187 insertions(+), 1 deletions(-)
> create mode 100644 cpu/mpc83xx/serdes.c
> create mode 100644 include/fsl_serdes.h
>
> diff --git a/cpu/mpc83xx/Makefile b/cpu/mpc83xx/Makefile
> index 94a3cb8..678be29 100644
> --- a/cpu/mpc83xx/Makefile
> +++ b/cpu/mpc83xx/Makefile
> @@ -29,7 +29,7 @@ LIB = $(obj)lib$(CPU).a
>
> START = start.o
> COBJS = traps.o cpu.o cpu_init.o speed.o interrupts.o \
> - spd_sdram.o ecc.o qe_io.o pci.o fdt.o
> + spd_sdram.o ecc.o qe_io.o pci.o fdt.o serdes.o
Please split it with on line for one file
>
> SRCS := $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c)
> OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
> diff --git a/cpu/mpc83xx/serdes.c b/cpu/mpc83xx/serdes.c
> new file mode 100644
> index 0000000..666bffd
> --- /dev/null
> +++ b/cpu/mpc83xx/serdes.c
> @@ -0,0 +1,161 @@
> +/*
> + * Freescale SerDes initialization routine
> + *
> + * Copyright (C) 2007 Freescale Semicondutor, Inc. All rights reserved.
> + * Copyright (C) 2008 MontaVista Software, Inc. All rights reserved.
> + *
> + * Author: Li Yang <leoli@freescale.com>
> + *
> + * This program is free software; you can redistribute it and/or modify it
> + * under the terms of the GNU General Public License as published by the
> + * Free Software Foundation; either version 2 of the License, or (at your
> + * option) any later version.
> + */
> +
> +#include <config.h>
> +
> +#ifdef CONFIG_FSL_SERDES
Please move it to the Makefile
> +
> +#include <common.h>
> +#include <asm/io.h>
> +#include <fsl_serdes.h>
> +
Best Regards,
J.
next prev parent reply other threads:[~2008-03-12 22:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-07 15:07 [U-Boot-Users] [PATCH 2/3] 83xx: serdes setup routines Anton Vorontsov
2008-03-12 22:54 ` Jean-Christophe PLAGNIOL-VILLARD [this message]
2008-03-13 13:44 ` Anton Vorontsov
2008-03-13 15:49 ` Jean-Christophe PLAGNIOL-VILLARD
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080312225439.GH18968@game.jcrosoft.org \
--to=plagnioj@jcrosoft.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox