mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
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>
This commit is contained in:
parent
a54915d8a1
commit
2e2da4c67d
2 changed files with 0 additions and 6 deletions
|
@ -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();
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue