Bug 23226 - Features of generic driver (template)
Features of generic driver (template)
Product: eCos
Classification: Retired
Component: Flash driver (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: ecc-bugs-int
Depends On:
  Show dependency treegraph
Reported: 2001-01-03 08:28 EST by Jesper Skov
Modified: 2007-04-18 12:30 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-06-20 11:45:05 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jesper Skov 2001-01-03 08:28:35 EST
Mutiple parts of same type but with gaps between them in address space.
 1: If MMU available, remap so they appear as one big part
 2: If no MMU, threat as separate regions - can't program linear code/data
    into the parts anyway, so no reason to make the driver clever enough
    to handle the gaps.

The driver knows the part size and the number of interleaved parts,
and can from that determine the AND-mask necessary to compute address
zero of the parts (necessary for some commands).

Even parts that do not have software programmable write-protection should
allow for the platform header to specify a macro that handles write-

Some parts need a delay in the relocated program code - where it cannot
rely on the HAL_US_DELAY function (which may be implemented by a function
which is attempted called with a relative branch).

Drivers should support interleaving for various bus widths.
Comment 1 Alex Schuilenburg 2003-06-20 11:45:05 EDT
This bug has moved to http://bugs.ecos.sourceware.org/show_bug.cgi?id>23226

Note You need to log in before you can comment on or make changes to this bug.