Home | History | Annotate | Download | only in nor
History log of /src/sys/dev/nor/cfi_0002.c
RevisionDateAuthorComments
 1.8  09-Jun-2015  matt #include <sys/sched.h> for yield();
 1.7  24-Jul-2014  joerg branches: 1.7.4;
Add some NOR_VERBOSE ifdefs for static functions only used in that case.
 1.6  17-Dec-2011  phx branches: 1.6.2; 1.6.8; 1.6.22;
- 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  23-Nov-2011  phx branches: 1.5.2;
Make it compile without DEBUG option.
 1.4  23-Jul-2011  cliff branches: 1.4.2; 1.4.4;
- names changed: erase_chiptime_* --> erase_chip_time_*
 1.3  19-Jul-2011  cliff add TNF copyright
 1.2  17-Jul-2011  dyoung #include <sys/bus.h> not <machine/bus.h>.
 1.1  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.4.4.1  17-Apr-2012  yamt sync with head
 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_0002.c was added on branch matt-nb5-pq3 on 2011-07-26 03:22:28 +0000
 1.5.2.1  18-Feb-2012  mrg merge to -current.
 1.6.22.1  10-Aug-2014  tls Rebase.
 1.6.8.2  03-Dec-2017  jdolecek update from HEAD
 1.6.8.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 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_0002.c was added on branch matt-nb5-mips64 on 2011-12-27 17:35:48 +0000
 1.7.4.1  22-Sep-2015  skrll Sync with HEAD

RSS XML Feed