[U-Boot-Users] board.c config patch

Stephen Williams gfi8d1h02 at sneakemail.com
Wed Feb 25 20:12:28 CET 2004


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
diff -p -u -r1.34 board.c
--- lib_ppc/board.c     24 Feb 2004 02:00:13 -0000      1.34
+++ lib_ppc/board.c     25 Feb 2004 18:54:08 -0000
@@ -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


-- 
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