diff options
author | Thomas Chou <thomas@wytron.com.tw> | 2015-10-09 09:28:20 +0800 |
---|---|---|
committer | Thomas Chou <thomas@wytron.com.tw> | 2015-10-23 07:37:03 +0800 |
commit | 2e2da4c67dc1adc43a2d1417d8595bb2543ecfe6 (patch) | |
tree | 6fe56fc0342bf4cbb85f61a60773d221f88de11d | |
parent | a54915d8a13ce800645655728a2f203aeda98740 (diff) | |
download | u-boot-imx-2e2da4c67dc1adc43a2d1417d8595bb2543ecfe6.zip u-boot-imx-2e2da4c67dc1adc43a2d1417d8595bb2543ecfe6.tar.gz u-boot-imx-2e2da4c67dc1adc43a2d1417d8595bb2543ecfe6.tar.bz2 |
serial: remove altera serial initializations
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>
-rw-r--r-- | drivers/serial/serial.c | 4 | ||||
-rw-r--r-- | include/serial.h | 2 |
2 files changed, 0 insertions, 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); |