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]

Atmel at29cxxxx flash driver with 16 Bit access


The atached patch improves the Atmel at29cxxxx flash driver so, that it works 
with 16 Bit wide access.

The driver have to write 256 times after each command sequence, but with 16 
Bit wide or two 8 Bit divices parallel, the driver writes only 128 times.

Roland Caßebohm
Index: flash_at29cxxxx.inl
===================================================================
RCS file: /cvs/ecos/ecos/packages/devs/flash/atmel/at29cxxxx/current/include/flash_at29cxxxx.inl,v
retrieving revision 1.4
diff -r1.4 flash_at29cxxxx.inl
238c238
<             i += sizeof(*addr_ptr2);
---
> 	    i++;
316c316
<             i += sizeof(*data_ptr2);
---
> 	    i++;

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