mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 00:32:04 +02:00
Remove unused CONFIG_SERIAL_SOFTWARE_FIFO feature
This patch removes the completely unused CONFIG_SERIAL_SOFTWARE_FIFO feature from U-Boot. It has only been implemented for PPC4xx and was not used at all. So let's remove it and make the code smaller and cleaner. Signed-off-by: Stefan Roese <sr@denx.de> Acked-by: Detlev Zundel <dzu@denx.de>
This commit is contained in:
@@ -76,18 +76,10 @@ static void drv_system_init (void)
|
||||
|
||||
strcpy (dev.name, "serial");
|
||||
dev.flags = DEV_FLAGS_OUTPUT | DEV_FLAGS_INPUT | DEV_FLAGS_SYSTEM;
|
||||
#ifdef CONFIG_SERIAL_SOFTWARE_FIFO
|
||||
dev.putc = serial_buffered_putc;
|
||||
dev.puts = serial_buffered_puts;
|
||||
dev.getc = serial_buffered_getc;
|
||||
dev.tstc = serial_buffered_tstc;
|
||||
#else
|
||||
dev.putc = serial_putc;
|
||||
dev.puts = serial_puts;
|
||||
dev.getc = serial_getc;
|
||||
dev.tstc = serial_tstc;
|
||||
#endif
|
||||
|
||||
stdio_register (&dev);
|
||||
|
||||
#ifdef CONFIG_SYS_DEVICE_NULLDEV
|
||||
|
Reference in New Issue
Block a user