]> git.sur5r.net Git - u-boot/commitdiff
serial: remove altera serial initializations
authorThomas Chou <thomas@wytron.com.tw>
Fri, 9 Oct 2015 01:28:20 +0000 (09:28 +0800)
committerThomas Chou <thomas@wytron.com.tw>
Thu, 22 Oct 2015 23:37:03 +0000 (07:37 +0800)
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>
Acked-by: Simon Glass <sjg@chromium.org>
Acked-by: Marek Vasut <marex@denx.de>
drivers/serial/serial.c
include/serial.h

index 699c410d6635bf0c8e1f49a8fc614c34c34bb3c6..422d3aedc3105a992f9d39b9233b8aa187435ac7 100644 (file)
@@ -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();
index de40e9406f89863e8347b100e3f63d3ebe5b6928..e490f9a0cf5e22945ddef399126c16f6e0be7281 100644 (file)
@@ -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);