public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] serial: remove altera serial initializations
@ 2015-10-05  0:51 Thomas Chou
  2015-10-06 22:49 ` Simon Glass
  2015-10-13 13:15 ` Thomas Chou
  0 siblings, 2 replies; 4+ messages in thread
From: Thomas Chou @ 2015-10-05  0:51 UTC (permalink / raw)
  To: u-boot

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(-)

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);
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-10-13 13:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox