-config BFIN_OTP- tristate "Blackfin On-Chip OTP Memory Support"- depends on BLACKFIN && (BF51x || BF52x || BF54x)- default y- help- If you say Y here, you will get support for a character device- interface into the One Time Programmable memory pages that are- stored on the Blackfin processor. This will not get you access- to the secure memory pages however. You will need to write your- own secure code and reader for that.-- To compile this driver as a module, choose M here: the module- will be called bfin-otp.-- If unsure, it is safe to say Y.--config BFIN_OTP_WRITE_ENABLE- bool "Enable writing support of OTP pages"- depends on BFIN_OTP- default n- help- If you say Y here, you will enable support for writing of the- OTP pages. This is dangerous by nature as you can only program- the pages once, so only enable this option when you actually- need it so as to not inadvertently clobber data.-- If unsure, say N.- config PRINTER tristate "Parallel printer support" depends on PARPORTdiff --git a/drivers/char/Makefile b/drivers/char/Makefileindex 057f654..35b2403 100644--- a/drivers/char/Makefile+++ b/drivers/char/Makefile@@ -16,7 +16,6 @@ obj-$(CONFIG_VIOTAPE) += viotape.o obj-$(CONFIG_IBM_BSR) += bsr.o obj-$(CONFIG_SGI_MBCS) += mbcs.o obj-$(CONFIG_BRIQ_PANEL) += briq_panel.o-obj-$(CONFIG_BFIN_OTP) += bfin-otp.o

obj-$(CONFIG_PRINTER) += lp.o

diff --git a/drivers/otp/Kconfig b/drivers/otp/Kconfigindex 9306ef6..15cc5fa 100644--- a/drivers/otp/Kconfig+++ b/drivers/otp/Kconfig@@ -18,4 +18,32 @@ config OTP_PC3X3 Say y or m here to allow support for the OTP found in PC3X3 devices. If you say m then the module will be called otp_pc3x3.

+config BFIN_OTP+ tristate "Blackfin On-Chip OTP Memory Support"+ depends on BLACKFIN && (BF51x || BF52x || BF54x) && OTP+ default y+ help+ If you say Y here, you will get support for a character device+ interface into the One Time Programmable memory pages that are+ stored on the Blackfin processor. This will not get you access+ to the secure memory pages however. You will need to write your+ own secure code and reader for that.++ To compile this driver as a module, choose M here: the module+ will be called bfin-otp.++ If unsure, it is safe to say Y.++config BFIN_OTP_WRITE_ENABLE+ bool "Enable writing support of OTP pages"+ depends on BFIN_OTP+ default n+ help+ If you say Y here, you will enable support for writing of the+ OTP pages. This is dangerous by nature as you can only program+ the pages once, so only enable this option when you actually+ need it so as to not inadvertently clobber data.++ If unsure, say N.+ endifdiff --git a/drivers/otp/Makefile b/drivers/otp/Makefileindex c710ec4..db79667 100644--- a/drivers/otp/Makefile+++ b/drivers/otp/Makefile@@ -1,2 +1,3 @@ obj-$(CONFIG_OTP) += otp.o obj-$(CONFIG_OTP_PC3X3) += otp_pc3x3.o+obj-$(CONFIG_BFIN_OTP) += bfin-otp.odiff --git a/drivers/char/bfin-otp.c b/drivers/otp/bfin-otp.csimilarity index 54%rename from drivers/char/bfin-otp.crename to drivers/otp/bfin-otp.cindex 44660f1..002058c 100644--- a/drivers/char/bfin-otp.c+++ b/drivers/otp/bfin-otp.c@@ -9,12 +9,13 @@ */