This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Atmel at29cxxxx flash driver with 16 Bit access
- From: Roland Caßebohm <roland dot cassebohm at visionsystems dot de>
- To: ecos-patches at sources dot redhat dot com
- Date: Thu, 13 Jun 2002 16:15:39 +0200
- Subject: 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++;