Home | History | Annotate | Download | only in nor
History log of /src/sys/dev/nor/cfi.h
RevisionDateAuthorComments
 1.8  05-Jan-2022  andvar fix typos, mainly s/comand/command/
 1.7  19-Apr-2018  christos s/static inline/static __inline/g for consistency.
 1.6  17-Dec-2011  phx branches: 1.6.2; 1.6.48;
- In cfi_probe() iterate over all chip widths for every port width to find
x8/x16 configurations, or two x8 chips forming a x16 port width.
- The offset in cfi_cmd() is now always given for 64-bit port width.
It will be scaled down for the actual port width to avoid problems
with 0x2aa -> 0x554 instead of 0x555.
- Added missing cfi_reset_default() in cfi_jedec_id(). The reset is
needed, because the chip was still in CFI-Query mode.
- Removed everything dealing with cfi_opmodes. It only complicates things
and I found no reason for keeping them. The port width and chip width
is known, so I just introduced a new cfi_read_qry() function which reads
a single word using bus_space_read_N() from the QRY structure, which
can be checked for 'Q', 'R' and 'Y'. That's all we need, before
reading and unpacking the whole QRY and PRI structures.
- Added two new fields, cfi_unlock_addr1 and cfi_unlock_addr2 to
the cfi struct. The unlock offsets should be kept variable, depending
on the manufacturer or command set version.

Changes have been discussed with cliff@.
 1.5  02-Aug-2011  cliff branches: 1.5.2; 1.5.6;
- CFI_0002_STATS no longer defined here
- add missing arg for do-nothing variant of CFI_0002_STATS_INIT()
 1.4  23-Jul-2011  cliff branches: 1.4.2;
- names changed: erase_chiptime_* --> erase_chip_time_*
- define CFI_IFCODE_* and use those instead of literals
- add field 'cfi_emulated' to struct cfi;
use when the cfi query info are synthesized/faked
based on table lookup, i.e. for a non CFI chip.
- add field 'cfi_name' to struct cfi;
- add struct cfi_jedec_tab to allow creating lookup table
to obtain chip parameters given JEDEC ID.
 1.3  17-Jul-2011  dyoung #include <sys/bus.h> not <machine/bus.h>.
 1.2  15-Jul-2011  cliff Add support for CFI NOR, using MPC8536DS as initial example.
Only AMD/Fujitsu command set is suported so far.
This is still work in progress, be advised.
 1.1  22-Jun-2011  ahoka Initial work on a NOR driver; it's commited here as is,
so I can cooperate with Cliff Neighbors on finishing it.

Not any way connected to the build.
 1.4.2.3  02-Aug-2011  cliff - CFI_0002_STATS no longer defined here
- add missing arg for do-nothing variant of CFI_0002_STATS_INIT()
 1.4.2.2  26-Jul-2011  matt Backport flash/nand/nor subsystem from -HEAD.
 1.4.2.1  23-Jul-2011  matt file cfi.h was added on branch matt-nb5-pq3 on 2011-07-26 03:22:28 +0000
 1.5.6.1  18-Feb-2012  mrg merge to -current.
 1.5.2.1  17-Apr-2012  yamt sync with head
 1.6.48.1  22-Apr-2018  pgoyette Sync with HEAD
 1.6.2.2  27-Dec-2011  matt Merge flash/nand/nor infrastruct from matt-nb5-pq3.
 1.6.2.1  17-Dec-2011  matt file cfi.h was added on branch matt-nb5-mips64 on 2011-12-27 17:35:48 +0000

RSS XML Feed