CVS log for src/sys/dev/nor/cfi.h
Up to [cvs.NetBSD.org] / src / sys / dev / nor
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.8.10.1: download - view: text, markup, annotated - select for diffs
Wed Nov 4 23:22:02 2026 UTC (11 days, 14 hours ago) by perseant
Branches: perseant-exfatfs
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +2 -2
lines
Sync with HEAD
Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri Jul 17 10:57:08 2026 UTC (4 months ago) by andvar
Branches: MAIN
CVS tags: perseant-exfatfs-base-20261102,
HEAD
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2
lines
fix various typos in comments.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Jan 5 16:01:54 2022 UTC (4 years, 10 months ago) by andvar
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20250801,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
netbsd-11-base,
netbsd-11-1-RELEASE,
netbsd-11-0-RELEASE,
netbsd-11-0-RC7,
netbsd-11-0-RC6,
netbsd-11-0-RC5,
netbsd-11-0-RC4,
netbsd-11-0-RC3,
netbsd-11-0-RC2,
netbsd-11-0-RC1,
netbsd-11,
netbsd-10-base,
netbsd-10-2-RELEASE,
netbsd-10-1-RELEASE,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Branch point for: perseant-exfatfs
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2
lines
fix typos, mainly s/comand/command/
Revision 1.6.48.1: download - view: text, markup, annotated - select for diffs
Sun Apr 22 07:20:21 2018 UTC (8 years, 6 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +5 -5
lines
Sync with HEAD
Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Apr 19 21:50:09 2018 UTC (8 years, 6 months ago) by christos
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-futex,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
phil-wifi-base,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
phil-wifi,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
netbsd-9-base,
netbsd-9-5-RELEASE,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
jdolecek-ncqfixes-base,
jdolecek-ncqfixes,
isaki-audio2-base,
isaki-audio2,
is-mlppp-base,
is-mlppp,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +5 -5
lines
s/static inline/static __inline/g for consistency.
Revision 1.5.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:07:42 2012 UTC (14 years, 7 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5: +9 -23
lines
sync with head
Revision 1.5.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:34:34 2012 UTC (14 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5: +9 -23
lines
merge to -current.
Revision 1.6.2.2: download - view: text, markup, annotated - select for diffs
Tue Dec 27 17:35:48 2011 UTC (14 years, 10 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.6.2.1: preferred, colored; branchpoint 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6.2.1: +281 -0
lines
Merge flash/nand/nor infrastruct from matt-nb5-pq3.
Revision 1.6.2.1
Sat Dec 17 19:42:41 2011 UTC (14 years, 11 months ago) by matt
Branches: matt-nb5-mips64
FILE REMOVED
Changes since revision 1.6: +0 -267
lines
file cfi.h was added on branch matt-nb5-mips64 on 2011-12-27 17:35:48 +0000
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Dec 17 19:42:41 2011 UTC (14 years, 11 months ago) by phx
Branches: MAIN
CVS tags: yamt-pagecache-base9,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
tls-maxphys-base-20171202,
tls-maxphys-base,
tls-maxphys,
tls-earlyentropy-base,
tls-earlyentropy,
rmind-smpnet-nbase,
rmind-smpnet-base,
rmind-smpnet,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
pgoyette-compat-base,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406,
nick-nhusb-base,
nick-nhusb,
netbsd-8-base,
netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
localcount-20160914,
khorben-n900,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
jmcneill-usbmp-base10,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan,
agc-symver-base,
agc-symver
Branch point for: pgoyette-compat,
matt-nb5-mips64
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +9 -23
lines
- 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@.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Aug 2 01:11:08 2011 UTC (15 years, 3 months ago) by cliff
Branches: MAIN
CVS tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3
Branch point for: yamt-pagecache,
jmcneill-usbmp
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -3
lines
- CFI_0002_STATS no longer defined here
- add missing arg for do-nothing variant of CFI_0002_STATS_INIT()
Revision 1.4.2.3: download - view: text, markup, annotated - select for diffs
Tue Aug 2 01:01:35 2011 UTC (15 years, 3 months ago) by cliff
Branches: matt-nb5-pq3
Diff to: previous 1.4.2.2: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.2.2: +2 -3
lines
- CFI_0002_STATS no longer defined here
- add missing arg for do-nothing variant of CFI_0002_STATS_INIT()
Revision 1.4.2.2: download - view: text, markup, annotated - select for diffs
Tue Jul 26 03:22:28 2011 UTC (15 years, 3 months ago) by matt
Branches: matt-nb5-pq3
Diff to: previous 1.4.2.1: preferred, colored
Changes since revision 1.4.2.1: +282 -0
lines
Backport flash/nand/nor subsystem from -HEAD.
Revision 1.4.2.1
Sat Jul 23 06:27:09 2011 UTC (15 years, 3 months ago) by matt
Branches: matt-nb5-pq3
FILE REMOVED
Changes since revision 1.4: +0 -282
lines
file cfi.h was added on branch matt-nb5-pq3 on 2011-07-26 03:22:28 +0000
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Jul 23 06:27:09 2011 UTC (15 years, 3 months ago) by cliff
Branches: MAIN
Branch point for: matt-nb5-pq3
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +52 -10
lines
- 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.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Jul 17 00:52:42 2011 UTC (15 years, 4 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2
lines
#include <sys/bus.h> not <machine/bus.h>.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Jul 15 19:19:57 2011 UTC (15 years, 4 months ago) by cliff
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +232 -8
lines
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.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Jun 22 21:59:15 2011 UTC (15 years, 4 months ago) by ahoka
Branches: MAIN
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.
CVSweb <webmaster@jp.NetBSD.org>