This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

SPI subsystem update


A couple of the CDL descriptions mentioned the generic serial package
instead of SPI. There was a typo in the documentation. I have also
added a mention of CYG_INIT_BUS_SPI priority.

Bart

2009-02-09  Bart Veer  <bartv@ecoscentric.com>

	* cdl/spi.cdl: fix descriptions in the CFLAGS_ADD and
	CFLAGS_REMOVE options
	* doc/spi.sgml: fix typo. Mention CYG_INIT_BUS_SPI priority.

Index: doc/spi.sgml
===================================================================
RCS file: /cvs/ecos/ecos/packages/io/spi/current/doc/spi.sgml,v
retrieving revision 1.2
diff -u -p -r1.2 spi.sgml
--- doc/spi.sgml	29 Jan 2009 17:49:48 -0000	1.2
+++ doc/spi.sgml	9 Feb 2009 23:04:52 -0000
@@ -203,8 +203,8 @@ extra functions in the platform HAL.
     <para>
 Typically all appropriate packages will be loaded automatically when
 you configure eCos for a given target. If the application does not use
-of the SPI I/O facilities, directly or indirectly, then linker garbage
-collection should eliminate all unnecessary code and data. All
+any of the SPI I/O facilities, directly or indirectly, then linker
+garbage collection should eliminate all unnecessary code and data. All
 necessary initialization should happen automatically. However the
 exact details may depend on the target, so the platform HAL
 documentation should be checked for further details.
@@ -689,7 +689,8 @@ Create a HAL table for the devices attac
       <listitem><para>
 Arrange for the bus to be initialized early on during system
 initialization. Typically this will happen via a prioritized static
-constructor. As part of this initialization the bus driver should
+constructor with priority <literal>CYG_INIT_BUS_SPI</literal>.
+As part of this initialization the bus driver should
 invoke the <function>CYG_SPI_BUS_COMMON_INIT</function> macro on its
 <structname>cyg_spi_bus</structname> field.
       </para></listitem>
Index: cdl/spi.cdl
===================================================================
RCS file: /cvs/ecos/ecos/packages/io/spi/current/cdl/spi.cdl,v
retrieving revision 1.4
diff -u -p -r1.4 spi.cdl
--- cdl/spi.cdl	29 Jan 2009 17:49:48 -0000	1.4
+++ cdl/spi.cdl	9 Feb 2009 23:05:31 -0000
@@ -58,15 +58,13 @@ cdl_package CYGPKG_IO_SPI {
         attached to an SPI bus. It also provides support for writing
         bus drivers and for defining SPI device structures."
 
-    
     cdl_component CYGPKG_IO_SPI_OPTIONS {
         display "SPI build options"
         flavor  none
         description   "
 	    Package specific build options including control over
-	    compiler flags used only in building this package,
-	    and details of which tests are built."
-
+	    compiler flags used only in building the generic SPI
+            package, and details of which tests are built."
 
         cdl_option CYGPKG_IO_SPI_CFLAGS_ADD {
             display "Additional compiler flags"
@@ -75,8 +73,8 @@ cdl_package CYGPKG_IO_SPI {
             default_value { "" }
             description   "
                 This option modifies the set of compiler flags for
-                building the serial device drivers. These flags are used in addition
-                to the set of global flags."
+                building the generic SPI package. These flags are 
+                used in addition to the set of global flags."
         }
 
         cdl_option CYGPKG_IO_SPI_CFLAGS_REMOVE {
@@ -86,8 +84,8 @@ cdl_package CYGPKG_IO_SPI {
             default_value { "" }
             description   "
                 This option modifies the set of compiler flags for
-                building the serial device drivers. These flags are removed from
-                the set of global flags if present."
+                building the generic SPI package. These flags are 
+                removed from the set of global flags if present."
         }
     }
 }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]