[U-Boot-Users] board.c patch got undone

Stephen Williams gfi8d1h02 at sneakemail.com
Tue Mar 16 04:47:28 CET 2004


It looks like in the last wave of changes, a patch got undone:


wing % cvs diff -r1.35 board.c
Index: board.c
===================================================================
RCS file: /cvsroot/u-boot/u-boot/lib_ppc/board.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -r1.35 -r1.36
877c877
< #if CONFIG_SERIAL_SOFTWARE_FIFO
---
 > #ifdef CONFIG_SERIAL_SOFTWARE_FIFO


The "#if CONFIG_SERIAL_SOFTWARE_FIFO" is the right version,
if one assumes the documentation is correct that setting
CONFIG_SERIAL_SOFTWARE_FIFO=0 causes the serial port to become
insensitive to CTS.

Perhaps it would be even better to change it to:

#if defined(CONFIG_SERIAL_SOFTWARE_FIFO) && CONFIG_SOFTWARE_FIFO>0
...
#endif

-- 
Steve Williams                "The woods are lovely, dark and deep.
steve at XXXXXXXXXX           But I have promises to keep,
http://www.XXXXXXXXXX         and lines to code before I sleep,
http://www.picturel.com       And lines to code before I sleep."





More information about the U-Boot mailing list