freebsd-dev/sys/dev/cfi
Sam Leffler 63425a7f25 Add support for frobbing Intel StrataFlash Protection Registers:
o add CFI_SUPPORT_STRATAFLASH compile option to enable support
o add new ioctls to get/set the factory and user/oem segments of the PR
  and to get/set Protection Lock Register that fuses the user segment
o add #defines for bits in the status register
o update cfi_wait_ready to take an offset so it can be used to wait for
  PR write completion and replace constants w/ symbolic names

Note: writing the user segment isn't correct; committing now to get review.

Sponsored by:	Carlson Wireless
Reviewed by:	imp, Chris Anderson
2009-02-05 18:12:07 +00:00
..
cfi_bus_ixp4xx.c add Roel's copyright as he did the initial version 2009-02-03 19:21:15 +00:00
cfi_bus_lbc.c
cfi_core.c Add support for frobbing Intel StrataFlash Protection Registers: 2009-02-05 18:12:07 +00:00
cfi_dev.c Add support for frobbing Intel StrataFlash Protection Registers: 2009-02-05 18:12:07 +00:00
cfi_reg.h Add support for frobbing Intel StrataFlash Protection Registers: 2009-02-05 18:12:07 +00:00
cfi_var.h Add support for frobbing Intel StrataFlash Protection Registers: 2009-02-05 18:12:07 +00:00