Skip to contentSkip to conversation

board.c config patch

U-Boot-Users Stephen Williams 2 participants 2 messages Feb 25, 2004 – Feb 27, 2004

lore
Share & tools
lore
#0 lore raw

This simple patch seems to have got lost in the frey. It is a simple patch that makes the use of CONFIG_SERIAL_SOFTWARE_FIFO consistent with other uses throughout the source.

Changelog:

* Patch by Stephen Williams
Use of CONFIG_SERIAL_SOFTWARE_FIFO in board.c consistent with uses elsewhere in the source.

% cvs -q diff -pu lib_ppc/board.c
Index: lib_ppc/board.c
===================================================================
RCS file: /cvsroot/u-boot/u-boot/lib_ppc/board.c,v retrieving revision 1.34

board.c 25 Feb 2004 18:54:08 -0000 renamed from board.c 24 Feb 2004 02:00:13 -0000 1.34 +1 -1
diff -p -u -r1.34 board.c
@@ -874,7 +874,7 @@ void board_init_r (gd_t *id, ulong dest_
         /* Must happen after interrupts are initialized since
          * an irq handler gets installed
          */
-#ifdef CONFIG_SERIAL_SOFTWARE_FIFO
+#if CONFIG_SERIAL_SOFTWARE_FIFO
         serial_buffered_init();
  #endif
 
Signature · 4 lines
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."
#1 lore raw
Quoted 4 lines · In message <[email protected]> you wrote:

This simple patch seems to have got lost in the frey. It is a simple patch that makes the use of CONFIG_SERIAL_SOFTWARE_FIFO consistent with other uses throughout the source.

Added, thanks - but please be more careful next time. You caught only one of the 3 board.c files [I fixed the others, too]

Best regards,

Wolfgang Denk

Signature · 5 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
"The majority of the stupid is  invincible  and  guaranteed  for  all
time.  The  terror  of their tyranny, however, is alleviated by their
lack of consistency."                               - Albert Einstein