summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2013-01-11 00:43:53 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-01-13 21:14:14 +0100
commit97a3493c51f4163957adef686addcde749f98aa8 (patch)
treeb7d6aefccc7acc7eeee805f76c4e70abaa423b4c
parentcbd675224d99113d3b2bddbb95119453cfdcc82b (diff)
downloadbuildroot-novena-97a3493c51f4163957adef686addcde749f98aa8.tar.gz
buildroot-novena-97a3493c51f4163957adef686addcde749f98aa8.zip
mtd: add options to build flash_otp_unlock and flash_otp_write
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/mtd/Config.in6
-rw-r--r--package/mtd/mtd.mk2
2 files changed, 8 insertions, 0 deletions
diff --git a/package/mtd/Config.in b/package/mtd/Config.in
index 7330dd598..ddc3737dc 100644
--- a/package/mtd/Config.in
+++ b/package/mtd/Config.in
@@ -30,6 +30,12 @@ config BR2_PACKAGE_MTD_FLASH_OTP_DUMP
config BR2_PACKAGE_MTD_FLASH_OTP_INFO
bool "flash_otp_info"
+config BR2_PACKAGE_MTD_FLASH_OTP_LOCK
+ bool "flash_otp_lock"
+
+config BR2_PACKAGE_MTD_FLASH_OTP_WRITE
+ bool "flash_otp_write"
+
config BR2_PACKAGE_MTD_FLASH_UNLOCK
bool "flash_unlock"
default y
diff --git a/package/mtd/mtd.mk b/package/mtd/mtd.mk
index aef478f8d..eafce45b9 100644
--- a/package/mtd/mtd.mk
+++ b/package/mtd/mtd.mk
@@ -38,6 +38,8 @@ MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_ERASE) += flash_erase
MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_LOCK) += flash_lock
MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_OTP_DUMP) += flash_otp_dump
MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_OTP_INFO) += flash_otp_info
+MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_OTP_LOCK) += flash_otp_lock
+MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_OTP_WRITE) += flash_otp_write
MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_UNLOCK) += flash_unlock
MTD_TARGETS_$(BR2_PACKAGE_MTD_FTL_CHECK) += ftl_check
MTD_TARGETS_$(BR2_PACKAGE_MTD_FTL_FORMAT) += ftl_format