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]

AMD FLASH - Force code into RAM


Index: devs/flash/amd/am29xxxxx/current/ChangeLog
===================================================================
RCS file: /misc/cvsfiles/ecos/packages/devs/flash/amd/am29xxxxx/current/ChangeLog,v
retrieving revision 1.14
diff -u -5 -p -r1.14 ChangeLog
--- devs/flash/amd/am29xxxxx/current/ChangeLog	24 Jul 2002 13:05:23 -0000	1.14
+++ devs/flash/amd/am29xxxxx/current/ChangeLog	30 Jul 2002 03:39:25 -0000
@@ -1,5 +1,11 @@
+2002-07-29  Gary Thomas  <gary@chez-thomas.org>
+2002-07-29  Motoya Kurotsu <kurotsu@allied-telesis.co.jp>
+
+	* include/flash_am29xxxxx.inl: Force routines which actually use
+	the FLASH to run from RAM.
+
 2002-07-24  Gary Thomas  <gary@chez-thomas.org>
 2002-07-24  Motoya Kurotsu <kurotsu@allied-telesis.co.jp>
 	
 	* include/flash_am29xxxxx.inl (_flash_program_buf): Fix data
 	type for 'state' - needs to be flash_data_t.
Index: devs/flash/amd/am29xxxxx/current/include/flash_am29xxxxx.inl
===================================================================
RCS file: /misc/cvsfiles/ecos/packages/devs/flash/amd/am29xxxxx/current/include/flash_am29xxxxx.inl,v
retrieving revision 1.13
diff -u -5 -p -r1.13 flash_am29xxxxx.inl
--- devs/flash/amd/am29xxxxx/current/include/flash_am29xxxxx.inl	24 Jul 2002 13:05:24 -0000	1.13
+++ devs/flash/amd/am29xxxxx/current/include/flash_am29xxxxx.inl	30 Jul 2002 03:38:20 -0000
@@ -152,10 +152,15 @@ static const flash_dev_info_t supported_
 void flash_query(void* data) __attribute__ ((section (".2ram.flash_query")));
 int  flash_erase_block(void* block, unsigned int size) 
     __attribute__ ((section (".2ram.flash_erase_block")));
 int  flash_program_buf(void* addr, void* data, int len)
     __attribute__ ((section (".2ram.flash_program_buf")));
+static void _flash_query(void* data) __attribute__ ((section (".2ram._flash_query")));
+static int  _flash_erase_block(void* block, unsigned int size) 
+    __attribute__ ((section (".2ram._flash_erase_block")));
+static int  _flash_program_buf(void* addr, void* data, int len)
+    __attribute__ ((section (".2ram._flash_program_buf")));
 
 //----------------------------------------------------------------------------
 // Flash Query
 //
 // Only reads the manufacturer and part number codes for the first




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