public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] [UPDATE #2] Merged serial_pl010.c and	serial_pl011.c.
Date: Mon, 8 Sep 2008 10:56:08 +0200	[thread overview]
Message-ID: <20080908085608.GA3956@game.jcrosoft.org> (raw)
In-Reply-To: <1220861851-25043-1-git-send-email-andreas.engel@ericsson.com>

On 10:17 Mon 08 Sep     , Andreas Engel wrote:
> They only differ in the init function.
> This also adds the missing watchdog support for the PL011.
> 
> Signed-off-by: Andreas Engel <andreas.engel@ericsson.com>
> ---
> 
>  Updated patch to the current git head as of today.
> 
>  drivers/serial/Makefile                           |    3 +-
>  drivers/serial/serial_pl011.c                     |  161 ---------------------
>  drivers/serial/{serial_pl010.c => serial_pl01x.c} |   83 +++++++++--
>  drivers/serial/{serial_pl011.h => serial_pl01x.h} |    0
>  4 files changed, 69 insertions(+), 178 deletions(-)
>  delete mode 100644 drivers/serial/serial_pl011.c
>  rename drivers/serial/{serial_pl010.c => serial_pl01x.c} (66%)
>  rename drivers/serial/{serial_pl011.h => serial_pl01x.h} (100%)
> 
> diff --git a/drivers/serial/Makefile b/drivers/serial/Makefile
> index f30014d..3cc1999 100644
> --- a/drivers/serial/Makefile
> +++ b/drivers/serial/Makefile
> @@ -33,8 +33,7 @@ COBJS-$(CONFIG_DRIVER_S3C4510_UART) += s3c4510b_uart.o
>  COBJS-$(CONFIG_S3C64XX) += s3c64xx.o
>  COBJS-y += serial.o
>  COBJS-$(CONFIG_MAX3100_SERIAL) += serial_max3100.o
> -COBJS-y += serial_pl010.o
> -COBJS-y += serial_pl011.o
> +COBJS-y += serial_pl01x.o
>  COBJS-$(CONFIG_XILINX_UARTLITE) += serial_xuartlite.o
>  COBJS-$(CONFIG_SCIF_CONSOLE) += serial_sh.o
>  COBJS-$(CONFIG_USB_TTY) += usbtty.o
> diff --git a/drivers/serial/serial_pl011.c b/drivers/serial/serial_pl011.c
> deleted file mode 100644
> index 4d35fe5..0000000
> --- a/drivers/serial/serial_pl011.c
> +++ /dev/null
> @@ -1,161 +0,0 @@
> -/*
> - * (C) Copyright 2000
> - * Rob Taylor, Flying Pig Systems. robt at flyingpig.com.
> - *
> - * (C) Copyright 2004
> - * ARM Ltd.
> - * Philippe Robin, <philippe.robin@arm.com>
> - *
> - * See file CREDITS for list of people who contributed to this
> - * project.
> - *
> - * 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.
> +++ b/drivers/serial/serial_pl01x.c
> @@ -31,24 +31,28 @@
>  #include <common.h>
>  #include <watchdog.h>
> 
> -#ifdef CFG_PL010_SERIAL
> +#if defined(CFG_PL010_SERIAL) || defined(CFG_PL011_SERIAL)
Please move this to the Makefile

Best Regards,
J.

  reply	other threads:[~2008-09-08  8:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-25  7:11 [U-Boot] [PATCH] [UPDATE] Merged serial_pl010.c and serial_pl011.c Andreas Engel
2008-09-06 20:34 ` Wolfgang Denk
2008-09-08  8:17   ` [U-Boot] [PATCH] [UPDATE #2] " Andreas Engel
2008-09-08  8:56     ` Jean-Christophe PLAGNIOL-VILLARD [this message]
2008-09-08  9:29       ` Andreas Engel
2008-09-08 10:49         ` Wolfgang Denk
2008-09-08 12:30       ` [U-Boot] [PATCH] [ARM] Moved conditional compile into Makefile Andreas Engel
2008-09-08 13:30         ` Jean-Christophe PLAGNIOL-VILLARD
2008-09-08 14:06           ` Wolfgang Denk
2008-09-08 14:44             ` Andreas Engel
2008-09-09 12:41     ` [U-Boot] [PATCH] [UPDATE #2] Merged serial_pl010.c and serial_pl011.c Wolfgang Denk

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=20080908085608.GA3956@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