From: Thomas Chou <thomas@wytron.com.tw>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] serial: remove altera serial initializations
Date: Tue, 13 Oct 2015 21:15:20 +0800 [thread overview]
Message-ID: <561D03E8.4060303@wytron.com.tw> (raw)
In-Reply-To: <1444006278-31543-1-git-send-email-thomas@wytron.com.tw>
On 10/05/2015 08:51 AM, Thomas Chou wrote:
> Both altera_jtag_serial_initialize() and
> altera_serial_initialize() are no longer used after
> they are converted to driver model.
>
> Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
> ---
> drivers/serial/serial.c | 4 ----
> include/serial.h | 2 --
> 2 files changed, 6 deletions(-)
>
Applied to u-boot-nios.
> diff --git a/drivers/serial/serial.c b/drivers/serial/serial.c
> index 699c410..422d3ae 100644
> --- a/drivers/serial/serial.c
> +++ b/drivers/serial/serial.c
> @@ -109,8 +109,6 @@ U_BOOT_ENV_CALLBACK(baudrate, on_baudrate);
> void name(void) \
> __attribute__((weak, alias("serial_null")));
>
> -serial_initfunc(altera_jtag_serial_initialize);
> -serial_initfunc(altera_serial_initialize);
> serial_initfunc(amirix_serial_initialize);
> serial_initfunc(arc_serial_initialize);
> serial_initfunc(arm_dcc_initialize);
> @@ -202,8 +200,6 @@ void serial_register(struct serial_device *dev)
> */
> void serial_initialize(void)
> {
> - altera_jtag_serial_initialize();
> - altera_serial_initialize();
> amirix_serial_initialize();
> arc_serial_initialize();
> arm_dcc_initialize();
> diff --git a/include/serial.h b/include/serial.h
> index de40e94..e490f9a 100644
> --- a/include/serial.h
> +++ b/include/serial.h
> @@ -164,8 +164,6 @@ struct serial_dev_priv {
> /* Access the serial operations for a device */
> #define serial_get_ops(dev) ((struct dm_serial_ops *)(dev)->driver->ops)
>
> -void altera_jtag_serial_initialize(void);
> -void altera_serial_initialize(void);
> void amirix_serial_initialize(void);
> void arc_serial_initialize(void);
> void arm_dcc_initialize(void);
>
prev parent reply other threads:[~2015-10-13 13:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-05 0:51 [U-Boot] [PATCH] serial: remove altera serial initializations Thomas Chou
2015-10-06 22:49 ` Simon Glass
2015-10-08 21:49 ` Marek Vasut
2015-10-13 13:15 ` Thomas Chou [this message]
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=561D03E8.4060303@wytron.com.tw \
--to=thomas@wytron.com.tw \
--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