Remove unused CONFIG_SERIAL_SOFTWARE_FIFO feature
Subsystems (3)
PATCH v2 1/1 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.
---
v2: Rebased with patches to switch to common NS16550 UART driver
README | 12 ------------ arch/i386/lib/board.c | 7 ------- arch/m68k/lib/board.c | 4 ---- arch/powerpc/lib/board.c | 7 ------- arch/sparc/lib/board.c | 4 ---- common/stdio.c | 8 -------- doc/README.ppc440 | 6 ------ include/common.h | 8 -------- include/configs/AP1000.h | 6 ------ include/configs/ATUM8548.h | 1 - include/configs/JSE.h | 6 ------ include/configs/KAREF.h | 1 - include/configs/METROBOX.h | 1 - include/configs/ML2.h | 10 ---------- include/configs/MPC8308RDB.h | 1 - include/configs/MPC8315ERDB.h | 1 - include/configs/MPC8323ERDB.h | 1 - include/configs/MPC832XEMDS.h | 1 - include/configs/MPC8349EMDS.h | 1 - include/configs/MPC8349ITX.h | 1 - include/configs/MPC8360EMDS.h | 1 - include/configs/MPC8360ERDK.h | 1 - include/configs/MPC837XEMDS.h | 1 - include/configs/MPC837XERDB.h | 1 - include/configs/MPC8536DS.h | 1 - include/configs/MPC8540ADS.h | 1 - include/configs/MPC8540EVAL.h | 1 - include/configs/MPC8541CDS.h | 1 - include/configs/MPC8544DS.h | 1 - include/configs/MPC8548CDS.h | 1 - include/configs/MPC8555CDS.h | 1 - include/configs/MPC8568MDS.h | 1 - include/configs/MPC8569MDS.h | 1 - include/configs/MPC8572DS.h | 1 - include/configs/MPC8610HPCD.h | 1 - include/configs/MPC8641HPCN.h | 1 - include/configs/MVBLM7.h | 1 - include/configs/P1_P2_RDB.h | 1 - include/configs/P2020DS.h | 1 - include/configs/PM854.h | 1 - include/configs/SBC8540.h | 1 - include/configs/TQM834x.h | 1 - include/configs/TQM85xx.h | 1 - include/configs/aria.h | 1 - include/configs/bubinga.h | 1 - include/configs/dlvision.h | 1 - include/configs/eNET.h | 1 - include/configs/ebony.h | 1 - include/configs/hcu5.h | 1 - include/configs/kmeter1.h | 1 - include/configs/mcu25.h | 7 ------- include/configs/mecp5123.h | 1 - include/configs/mpc5121ads.h | 1 - include/configs/neo.h | 1 - include/configs/ocotea.h | 1 - include/configs/sbc8349.h | 1 - include/configs/sbc8548.h | 1 - include/configs/sbc8560.h | 1 - include/configs/sbc8641d.h | 1 - include/configs/sc3.h | 8 -------- include/configs/socrates.h | 1 - include/configs/stxssa.h | 1 - include/configs/taihu.h | 1 - include/configs/vme8349.h | 1 - include/configs/walnut.h | 1 - include/configs/yucca.h | 1 - 66 files changed, 0 insertions(+), 146 deletions(-)
README +0 -12
@@ -532,18 +532,6 @@ The following options need to be configured: must be defined, to setup the maximum idle timeout for the SMC. -- Interrupt driven serial port input: - CONFIG_SERIAL_SOFTWARE_FIFO - - PPC405GP only. - Use an interrupt handler for receiving data on the - serial port. It also enables using hardware handshake - (RTS/CTS) and UART's built-in FIFO. Set the number of - bytes the interrupt driven input buffer should have. - - Leave undefined to disable this feature, including - disable the buffer and hardware handshake. - - Boot Delay: CONFIG_BOOTDELAY - in seconds Delay before automatically booting the default image; set to -1 to disable autoboot.
arch/i386/lib/board.c +0 -7
@@ -335,13 +335,6 @@ void board_init_r(gd_t *id, ulong dest_addr)enable_interrupts ();show_boot_progress (0x28 ); -/* Must happen after interrupts are initialized since -* an irq handler gets installed -*/ -#ifdef CONFIG_SERIAL_SOFTWARE_FIFO -serial_buffered_init (); -#endif -#ifdef CONFIG_STATUS_LED status_led_set (STATUS_LED_BOOT ,STATUS_LED_BLINKING );#endif
arch/m68k/lib/board.c +0 -4
@@ -569,10 +569,6 @@ void board_init_r (gd_t *id, ulong dest_addr)*/ timer_init (); -#ifdef CONFIG_SERIAL_SOFTWARE_FIFO -serial_buffered_init (); -#endif -#ifdef CONFIG_STATUS_LED status_led_set (STATUS_LED_BOOT ,STATUS_LED_BLINKING );#endif
arch/powerpc/lib/board.c +0 -7
@@ -901,13 +901,6 @@ void board_init_r (gd_t *id, ulong dest_addr)*/ interrupt_init (); -/* Must happen after interrupts are initialized since -* an irq handler gets installed -*/ -#ifdef CONFIG_SERIAL_SOFTWARE_FIFO -serial_buffered_init (); -#endif -#if defined(CONFIG_STATUS_LED ) && defined(STATUS_LED_BOOT )status_led_set (STATUS_LED_BOOT ,STATUS_LED_BLINKING );#endif
arch/sparc/lib/board.c +0 -4
@@ -359,10 +359,6 @@ void board_init_f(ulong bootflag)/* Initialize the console (after the relocation and devices init) */ console_init_r (); -#ifdef CONFIG_SERIAL_SOFTWARE_FIFO -serial_buffered_init (); -#endif -#ifdef CONFIG_STATUS_LED status_led_set (STATUS_LED_BOOT ,STATUS_LED_BLINKING );#endif
common/stdio.c +0 -8
@@ -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
doc/README.ppc440 +0 -6
@@ -77,12 +77,6 @@ This is controlled with the CONFIG_SYS_EXT_SERIAL_CLOCK flag. When using internal clocking, the "ideal baud rate" settings in the 440GP user manual are automatically calculated. -CONFIG_SERIAL_SOFTWARE_FIFO enables interrupt-driven serial operation. -But the last time I checked, interrupts were initialized after the -serial port causing the interrupt handler to be removed from the -handler table. This will probably be fixed soon ... or fix it -yourself and submit a patch :-) - I2C =================
include/common.h +0 -8
@@ -214,14 +214,6 @@ typedef void (interrupt_handler_t)(void *);* Function Prototypes */ -#ifdef CONFIG_SERIAL_SOFTWARE_FIFO -void serial_buffered_init (void ); -void serial_buffered_putc (const char ); -void serial_buffered_puts (const char *); -int serial_buffered_getc (void ); -int serial_buffered_tstc (void ); -#endif /* CONFIG_SERIAL_SOFTWARE_FIFO */ -void hang (void ) __attribute__ ((noreturn));/* */
include/configs/AP1000.h +0 -6
@@ -52,12 +52,6 @@#define CONFIG_BOOTCOMMAND ""/* autoboot command */ -/* Size (bytes) of interrupt driven serial port buffer. -* Set to 0 to use polling instead of interrupts. -* Setting to 0 will also disable RTS/CTS handshaking. -*/ -#undef CONFIG_SERIAL_SOFTWARE_FIFO -#define CONFIG_BOOTARGS "console=ttyS0,57600"#define CONFIG_LOADS_ECHO 1/* echo on for serial download */
include/configs/ATUM8548.h +0 -1
@@ -200,7 +200,6 @@/* Serial Port */ #define CONFIG_CONS_INDEX 1 -#undef CONFIG_SERIAL_SOFTWARE_FIFO#define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE 1
include/configs/JSE.h +0 -6
@@ -105,12 +105,6 @@/* Set console baudrate to 9600 */ #define CONFIG_BAUDRATE 9600 -/* Size (bytes) of interrupt driven serial port buffer. -* Set to 0 to use polling instead of interrupts. -* Setting to 0 will also disable RTS/CTS handshaking. -*/ -#undef CONFIG_SERIAL_SOFTWARE_FIFO -/* * Configuration related to auto-boot. *
include/configs/KAREF.h +0 -1
@@ -95,7 +95,6 @@#define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE 1#define CONFIG_SYS_NS16550_CLK get_serial_clock() -#undef CONFIG_SERIAL_SOFTWARE_FIFO#define CONFIG_SERIAL_MULTI 1#define CONFIG_BAUDRATE 9600
include/configs/METROBOX.h +0 -1
@@ -157,7 +157,6 @@#define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE 1#define CONFIG_SYS_NS16550_CLK get_serial_clock() -#undef CONFIG_SERIAL_SOFTWARE_FIFO#define CONFIG_SERIAL_MULTI 1#define CONFIG_BAUDRATE 9600
include/configs/ML2.h +0 -10
@@ -52,16 +52,6 @@#define CONFIG_PREBOOT "fsload 0x00100000 /boot/image" -/* Size (bytes) of interrupt driven serial port buffer. -* Set to 0 to use polling instead of interrupts. -* Setting to 0 will also disable RTS/CTS handshaking. -*/ -#if 0 -#define CONFIG_SERIAL_SOFTWARE_FIFO 4000 -#else -#undef CONFIG_SERIAL_SOFTWARE_FIFO -#endif -#if 0 #define CONFIG_BOOTARGS "root=/dev/nfs " \ "ip=192.168.2.176:192.168.2.190:192.168.2.79:255.255.255.0 " \
include/configs/MPC8308RDB.h +0 -1
@@ -279,7 +279,6 @@* Serial Port */ #define CONFIG_CONS_INDEX 1 -#undef CONFIG_SERIAL_SOFTWARE_FIFO#define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE 1
include/configs/MPC8315ERDB.h +0 -1
@@ -298,7 +298,6 @@* Serial Port */ #define CONFIG_CONS_INDEX 1 -#undef CONFIG_SERIAL_SOFTWARE_FIFO#define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE 1
include/configs/MPC8323ERDB.h +0 -1
@@ -262,7 +262,6 @@* Serial Port */ #define CONFIG_CONS_INDEX 1 -#undef CONFIG_SERIAL_SOFTWARE_FIFO#define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE 1
include/configs/MPC832XEMDS.h +0 -1
@@ -273,7 +273,6 @@* Serial Port */ #define CONFIG_CONS_INDEX 1 -#undef CONFIG_SERIAL_SOFTWARE_FIFO#define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE 1
include/configs/MPC8349EMDS.h +0 -1
@@ -283,7 +283,6 @@* Serial Port */ #define CONFIG_CONS_INDEX 1 -#undef CONFIG_SERIAL_SOFTWARE_FIFO#define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE 1
include/configs/MPC8349ITX.h +0 -1
@@ -329,7 +329,6 @@ boards, we say we have two, but don't display a message if we find only one. */* Serial Port */ #define CONFIG_CONS_INDEX 1 -#undef CONFIG_SERIAL_SOFTWARE_FIFO#define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE 1
include/configs/MPC8360EMDS.h +0 -1
@@ -307,7 +307,6 @@* Serial Port */ #define CONFIG_CONS_INDEX 1 -#undef CONFIG_SERIAL_SOFTWARE_FIFO#define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE 1
include/configs/MPC8360ERDK.h +0 -1
@@ -237,7 +237,6 @@* Serial Port */ #define CONFIG_CONS_INDEX 1 -#undef CONFIG_SERIAL_SOFTWARE_FIFO#define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE 1
include/configs/MPC837XEMDS.h +0 -1
@@ -299,7 +299,6 @@* Serial Port */ #define CONFIG_CONS_INDEX 1 -#undef CONFIG_SERIAL_SOFTWARE_FIFO#define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE 1
include/configs/MPC837XERDB.h +0 -1
@@ -316,7 +316,6 @@* Serial Port */ #define CONFIG_CONS_INDEX 1 -#undef CONFIG_SERIAL_SOFTWARE_FIFO#define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE 1
include/configs/MPC8536DS.h +0 -1
@@ -400,7 +400,6 @@* shorted - index 1 */ #define CONFIG_CONS_INDEX 1 -#undef CONFIG_SERIAL_SOFTWARE_FIFO#define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE 1
include/configs/MPC8540ADS.h +0 -1
@@ -237,7 +237,6 @@/* Serial Port */ #define CONFIG_CONS_INDEX 1 -#undef CONFIG_SERIAL_SOFTWARE_FIFO#define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE 1
include/configs/MPC8540EVAL.h +0 -1
@@ -173,7 +173,6 @@/* Serial Port */ #define CONFIG_CONS_INDEX 1 -#undef CONFIG_SERIAL_SOFTWARE_FIFO#define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE 1
include/configs/MPC8541CDS.h +0 -1
@@ -263,7 +263,6 @@ extern unsigned long get_clock_freq(void);/* Serial Port */ #define CONFIG_CONS_INDEX 2 -#undef CONFIG_SERIAL_SOFTWARE_FIFO#define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE 1
include/configs/MPC8544DS.h +0 -1
@@ -214,7 +214,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);* shorted - index 1 */ #define CONFIG_CONS_INDEX 1 -#undef CONFIG_SERIAL_SOFTWARE_FIFO#define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE 1
include/configs/MPC8548CDS.h +0 -1
@@ -282,7 +282,6 @@ extern unsigned long get_clock_freq(void);/* Serial Port */ #define CONFIG_CONS_INDEX 2 -#undef CONFIG_SERIAL_SOFTWARE_FIFO#define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE 1
include/configs/MPC8555CDS.h +0 -1
@@ -261,7 +261,6 @@ extern unsigned long get_clock_freq(void);/* Serial Port */ #define CONFIG_CONS_INDEX 2 -#undef CONFIG_SERIAL_SOFTWARE_FIFO#define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE 1
include/configs/MPC8568MDS.h +0 -1
@@ -244,7 +244,6 @@ extern unsigned long get_clock_freq(void);/* Serial Port */ #define CONFIG_CONS_INDEX 1 -#undef CONFIG_SERIAL_SOFTWARE_FIFO#define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE 1
include/configs/MPC8569MDS.h +0 -1
@@ -276,7 +276,6 @@ extern unsigned long get_clock_freq(void);/* Serial Port */ #define CONFIG_CONS_INDEX 1#define CONFIG_SERIAL_MULTI 1 -#undef CONFIG_SERIAL_SOFTWARE_FIFO#define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE 1
include/configs/MPC8572DS.h +0 -1
@@ -333,7 +333,6 @@* shorted - index 1 */ #define CONFIG_CONS_INDEX 1 -#undef CONFIG_SERIAL_SOFTWARE_FIFO#define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE 1
include/configs/MPC8610HPCD.h +0 -1
@@ -218,7 +218,6 @@/* Serial Port */ #define CONFIG_CONS_INDEX 1 -#undef CONFIG_SERIAL_SOFTWARE_FIFO#define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE 1
include/configs/MPC8641HPCN.h +0 -1
@@ -275,7 +275,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);/* Serial Port */ #define CONFIG_CONS_INDEX 1 -#undef CONFIG_SERIAL_SOFTWARE_FIFO#define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE 1
include/configs/MVBLM7.h +0 -1
@@ -150,7 +150,6 @@* Serial Port */ #define CONFIG_CONS_INDEX 1 -#undef CONFIG_SERIAL_SOFTWARE_FIFO#define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE 1
include/configs/P1_P2_RDB.h +0 -1
@@ -281,7 +281,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);* shorted - index 1 */ #define CONFIG_CONS_INDEX 1 -#undef CONFIG_SERIAL_SOFTWARE_FIFO#define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE 1
include/configs/P2020DS.h +0 -1
@@ -337,7 +337,6 @@* shorted - index 1 */ #define CONFIG_CONS_INDEX 1 -#undef CONFIG_SERIAL_SOFTWARE_FIFO#define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE 1
include/configs/PM854.h +0 -1
@@ -174,7 +174,6 @@/* Serial Port */ #define CONFIG_CONS_INDEX 1 -#undef CONFIG_SERIAL_SOFTWARE_FIFO#define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE 1
include/configs/SBC8540.h +0 -1
@@ -205,7 +205,6 @@#undef CONFIG_CONS_NONE/* define if console on something else */ #define CONFIG_CONS_INDEX 1 -#undef CONFIG_SERIAL_SOFTWARE_FIFO#define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE 1
include/configs/TQM834x.h +0 -1
@@ -162,7 +162,6 @@* Serial Port */ #define CONFIG_CONS_INDEX 1 -#undef CONFIG_SERIAL_SOFTWARE_FIFO#define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE 1
include/configs/TQM85xx.h +0 -1
@@ -256,7 +256,6 @@#else /* !CONFIG_TQM8560 */ #define CONFIG_CONS_INDEX 1 -#undef CONFIG_SERIAL_SOFTWARE_FIFO#define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE 1
include/configs/aria.h +0 -1
@@ -321,7 +321,6 @@* Serial Port */ #define CONFIG_CONS_INDEX 1 -#undef CONFIG_SERIAL_SOFTWARE_FIFO/* * Serial console configuration
include/configs/bubinga.h +0 -1
@@ -124,7 +124,6 @@* set Linux BASE_BAUD to 403200. */ #define CONFIG_CONS_INDEX 1/* Use UART0 */ -#undef CONFIG_SERIAL_SOFTWARE_FIFO#undef CONFIG_SYS_EXT_SERIAL_CLOCK/* external serial clock */ #undef CONFIG_SYS_405_UART_ERRATA_59/* 405GP/CR Rev. D silicon */ #define CONFIG_SYS_BASE_BAUD 691200
include/configs/dlvision.h +0 -1
@@ -98,7 +98,6 @@* set Linux BASE_BAUD to 403200. */ #define CONFIG_CONS_INDEX 1/* Use UART0 */ -#undef CONFIG_SERIAL_SOFTWARE_FIFO#undef CONFIG_SYS_EXT_SERIAL_CLOCK/* external serial clock */ #undef CONFIG_SYS_405_UART_ERRATA_59/* 405GP/CR Rev. D silicon */ #define CONFIG_SYS_BASE_BAUD 691200
include/configs/eNET.h +0 -1
@@ -59,7 +59,6 @@* Serial Configuration */ #define CONFIG_SERIAL_MULTI -#undef CONFIG_SERIAL_SOFTWARE_FIFO#define CONFIG_CONS_INDEX 1#define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_SERIAL
include/configs/ebony.h +0 -1
@@ -81,7 +81,6 @@* Serial Port *----------------------------------------------------------------------*/ #define CONFIG_CONS_INDEX 1/* Use UART0 */ -#undef CONFIG_SERIAL_SOFTWARE_FIFO#define CONFIG_SYS_EXT_SERIAL_CLOCK (1843200 * 6)/* Ext clk @ 11.059 MHz */ /*-----------------------------------------------------------------------
include/configs/hcu5.h +0 -1
@@ -90,7 +90,6 @@*----------------------------------------------------------------------*/ #undef CONFIG_SYS_EXT_SERIAL_CLOCK/* external serial clock */ #define CONFIG_BAUDRATE 115200 -#undef CONFIG_SERIAL_SOFTWARE_FIFO/*----------------------------------------------------------------------- * Environment
include/configs/kmeter1.h +0 -1
@@ -257,7 +257,6 @@* Serial Port */ #define CONFIG_CONS_INDEX 1 -#undef CONFIG_SERIAL_SOFTWARE_FIFO#define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE 1
include/configs/mcu25.h +0 -7
@@ -86,16 +86,9 @@* If CONFIG_SYS_405_UART_ERRATA_59 and 200MHz CPU clock, * set Linux BASE_BAUD to 403200. */ -/* needed to be able to define CONFIG_SERIAL_SOFTWARE_FIFO */ #undef CONFIG_SYS_405_UART_ERRATA_59/* 405GP/CR Rev. D silicon */ #define CONFIG_SYS_BASE_BAUD 691200 -/* Size (bytes) of interrupt driven serial port buffer. -* Set to 0 to use polling instead of interrupts. -* Setting to 0 will also disable RTS/CTS handshaking. -*/ -#undef CONFIG_SERIAL_SOFTWARE_FIFO -/* Set console baudrate to 9600 */ #define CONFIG_BAUDRATE 9600
include/configs/mecp5123.h +0 -1
@@ -218,7 +218,6 @@* Serial Port */ #define CONFIG_CONS_INDEX 1 -#undef CONFIG_SERIAL_SOFTWARE_FIFO/* * Serial console configuration
include/configs/mpc5121ads.h +0 -1
@@ -284,7 +284,6 @@* Serial Port */ #define CONFIG_CONS_INDEX 1 -#undef CONFIG_SERIAL_SOFTWARE_FIFO/* * Serial console configuration
include/configs/neo.h +0 -1
@@ -104,7 +104,6 @@#define CONFIG_SYS_NS16550_REG_SIZE 1#define CONFIG_SYS_NS16550_CLK get_serial_clock() -#undef CONFIG_SERIAL_SOFTWARE_FIFO#undef CONFIG_SYS_EXT_SERIAL_CLOCK/* external serial clock */ #undef CONFIG_SYS_405_UART_ERRATA_59/* 405GP/CR Rev. D silicon */ #define CONFIG_SYS_BASE_BAUD 691200
include/configs/ocotea.h +0 -1
@@ -81,7 +81,6 @@* Serial Port *----------------------------------------------------------------------*/ #define CONFIG_CONS_INDEX 1/* Use UART0 */ -#undef CONFIG_SERIAL_SOFTWARE_FIFO#define CONFIG_SYS_EXT_SERIAL_CLOCK (1843200 * 6)/* Ext clk @ 11.059 MHz */ /*-----------------------------------------------------------------------
include/configs/sbc8349.h +0 -1
@@ -270,7 +270,6 @@* Serial Port */ #define CONFIG_CONS_INDEX 1 -#undef CONFIG_SERIAL_SOFTWARE_FIFO#define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE 1
include/configs/sbc8548.h +0 -1
@@ -338,7 +338,6 @@/* Serial Port */ #define CONFIG_CONS_INDEX 1 -#undef CONFIG_SERIAL_SOFTWARE_FIFO#define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE 1
include/configs/sbc8560.h +0 -1
@@ -203,7 +203,6 @@#undef CONFIG_CONS_NONE/* define if console on something else */ #define CONFIG_CONS_INDEX 1 -#undef CONFIG_SERIAL_SOFTWARE_FIFO#define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE 1
include/configs/sbc8641d.h +0 -1
@@ -257,7 +257,6 @@/* Serial Port */ #define CONFIG_CONS_INDEX 1 -#undef CONFIG_SERIAL_SOFTWARE_FIFO#define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE 1
include/configs/sc3.h +0 -8
@@ -82,14 +82,6 @@#define CONFIG_SYS_NS16550_REG_SIZE 1#define CONFIG_SYS_NS16550_CLK get_serial_clock()#define CONFIG_SERIAL_MULTI -#undef CONFIG_SERIAL_SOFTWARE_FIFO -/* -* define CONFIG_POWER_DOWN if your cpu should power down while waiting for your input -* Works only, if you have enabled the CONFIG_SERIAL_SOFTWARE_FIFO feature -*/ -#if CONFIG_SERIAL_SOFTWARE_FIFO -#define CONFIG_POWER_DOWN -#endif /* * define CONFIG_SYS_CLK_FREQ to your base crystal clock in Hz
include/configs/socrates.h +0 -1
@@ -218,7 +218,6 @@/* Serial Port */ #define CONFIG_CONS_INDEX 1 -#undef CONFIG_SERIAL_SOFTWARE_FIFO#define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE 1
include/configs/stxssa.h +0 -1
@@ -176,7 +176,6 @@/* Serial Port */ #define CONFIG_CONS_INDEX 2 -#undef CONFIG_SERIAL_SOFTWARE_FIFO#define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE 1
include/configs/taihu.h +0 -1
@@ -128,7 +128,6 @@* set Linux BASE_BAUD to 403200. */ #define CONFIG_CONS_INDEX 2/* Use UART1 */ -#undef CONFIG_SERIAL_SOFTWARE_FIFO#undef CONFIG_SYS_EXT_SERIAL_CLOCK/* external serial clock */ #undef CONFIG_SYS_405_UART_ERRATA_59/* 405GP/CR Rev. D silicon */ #define CONFIG_SYS_BASE_BAUD 691200
include/configs/vme8349.h +0 -1
@@ -184,7 +184,6 @@* Serial Port */ #define CONFIG_CONS_INDEX 1 -#undef CONFIG_SERIAL_SOFTWARE_FIFO#define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE 1
include/configs/walnut.h +0 -1
@@ -85,7 +85,6 @@* set Linux BASE_BAUD to 403200. */ #define CONFIG_CONS_INDEX 1/* Use UART0 */ -#undef CONFIG_SERIAL_SOFTWARE_FIFO#undef CONFIG_SYS_EXT_SERIAL_CLOCK/* external serial clock */ #undef CONFIG_SYS_405_UART_ERRATA_59/* 405GP/CR Rev. D silicon */ #define CONFIG_SYS_BASE_BAUD 691200
include/configs/yucca.h +0 -1
@@ -107,7 +107,6 @@*----------------------------------------------------------------------*/ #define CONFIG_CONS_INDEX 1/* Use UART0 */ -#undef CONFIG_SERIAL_SOFTWARE_FIFO#undef CONFIG_SYS_EXT_SERIAL_CLOCK/* #define CONFIG_SYS_EXT_SERIAL_CLOCK (1843200 * 6) */ /* Ext clk @ 11.059 MHz */
Signature · 1 line
1.7.3
PATCH v2 1/1 Remove unused CONFIG_SERIAL_SOFTWARE_FIFO feature
Quoted 3 lines · On Tuesday 21 September 2010 19:42:22 Stefan Roese wrote:
This patch removes the completely unused
CONFIG_SERIAL_SOFTWARE_FIFOfeature 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.
Applied to u-boot-ppc4xx/next. Thanks.
Cheers,
Stefan
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de