From a7490070eb9f1d4ec2ab2dc7c97cf5ec5c476a29 Mon Sep 17 00:00:00 2001 From: sam Date: Thu, 5 Feb 2009 18:12:07 +0000 Subject: 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 --- sys/conf/options | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys/conf') 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 -- cgit v1.1