mtd: add options to build flash_otp_unlock and flash_otp_write
authorArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Fri, 11 Jan 2013 00:43:53 +0000 (00:43 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 13 Jan 2013 20:14:14 +0000 (21:14 +0100)
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/mtd/Config.in
package/mtd/mtd.mk

index 7330dd598c5f12d3d1abc486a135156416f6384b..ddc3737dcf65f027ea40b15b3b6e0adad8787337 100644 (file)
@@ -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
index aef478f8df21a07c3fb13abb8f34cc4463e80dc0..eafce45b99b8ac273bcd3cf85193faeb899348b0 100644 (file)
@@ -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