This is the mail archive of the ecos-patches@sources.redhat.com 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]

V2 flash - minor am29xxxxx V2 driver doc update


Complex setups have some implications for the platform HAL's CDL.

Bart

Index: ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/devs/flash/amd/am29xxxxxv2/current/Attic/ChangeLog,v
retrieving revision 1.1.2.2
diff -u -r1.1.2.2 ChangeLog
--- ChangeLog	21 Nov 2004 17:33:51 -0000	1.1.2.2
+++ ChangeLog	21 Nov 2004 23:47:15 -0000
@@ -1,5 +1,8 @@
 2004-11-21  Bart Veer  <bartv@ecoscentric.com>
 
+	* doc/am29xxxxx.sgml: describe CDL implications for custom locking
+	functions and additional devices.
+	
 	* cdl/flash_am29xxxxx_v2.cdl: CYGHWR_IO_FLASH_DEVICE_V2 is now
 	implicit
 
Index: doc/am29xxxxx.sgml
===================================================================
RCS file: /cvs/ecos/ecos/packages/devs/flash/amd/am29xxxxxv2/current/doc/Attic/am29xxxxx.sgml,v
retrieving revision 1.1.2.1
diff -u -r1.1.2.1 am29xxxxx.sgml
--- doc/am29xxxxx.sgml	20 Nov 2004 18:09:53 -0000	1.1.2.1
+++ doc/am29xxxxx.sgml	21 Nov 2004 23:47:34 -0000
@@ -515,6 +515,13 @@
     &hellip;
 }
       </programlisting>
+      <para>
+If real locking functions are implemented then the platform HAL's CDL
+script should implement the CDL interface
+<varname>CYGHWR_IO_FLASH_BLOCK_LOCKING</varname>. Otherwise the
+generic flash package may believe that none of the flash drivers in the
+system provide locking functionality and disable the interface functions.
+      </para>
     </refsect2>
 
     <refsect2 id="am29xxxxx-instance-functions-other"><title>Other</title>
@@ -687,6 +694,13 @@
 system. Such variations are usually best described by separate
 <structname>cyg_flash_dev</structname> structures.
     </para>
+    <para>
+If more than one <structname>cyg_flash_dev</structname> structure is
+instantiated then the platform HAL's CDL script should implement the
+CDL interface <varname>CYGHWR_IO_FLASH_DEVICE</varname> once for every
+device past the first. Otherwise the generic code may default to the
+case of a single flash device and optimize for that.
+    </para>
   </refsect1>
 
   <refsect1 id="am29xxxxx-instance-platform"><title>Platform-Specific Macros</title>


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