diff options
author | sam <sam@FreeBSD.org> | 2009-02-05 18:12:07 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2009-02-05 18:12:07 +0000 |
commit | a7490070eb9f1d4ec2ab2dc7c97cf5ec5c476a29 (patch) | |
tree | ca2ee3ec2914c2b518d9a0ad88a9c4ee7439e7d9 /sys/conf | |
parent | c2ef74981e48ea6112d18468d2e885627fcc104f (diff) | |
download | FreeBSD-src-a7490070eb9f1d4ec2ab2dc7c97cf5ec5c476a29.zip FreeBSD-src-a7490070eb9f1d4ec2ab2dc7c97cf5ec5c476a29.tar.gz |
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
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/options | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/conf/options b/sys/conf/options index 64504fd..4caff30 100644 --- a/sys/conf/options +++ b/sys/conf/options @@ -804,3 +804,7 @@ TDMA_TXRATE_11A_DEFAULT opt_tdma.h # Virtualize the network stack VIMAGE opt_global.h VIMAGE_GLOBALS opt_global.h + +# Common Flash Interface (CFI) options +CFI_SUPPORT_STRATAFLASH opt_cfi.h +CFI_ARMEDANDDANGEROUS opt_cfi.h |