From: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2] mtd: add options to build flash_otp_unlock and flash_otp_write
Date: Fri, 11 Jan 2013 11:43:53 +0100 [thread overview]
Message-ID: <1357901033-8084-1-git-send-email-arnout@mind.be> (raw)
In-Reply-To: <20130111095711.GD4162@tarshish>
From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
v2: use correct config variables in .mk file
---
package/mtd/Config.in | 6 ++++++
package/mtd/mtd.mk | 2 ++
2 files changed, 8 insertions(+)
diff --git a/package/mtd/Config.in b/package/mtd/Config.in
index 7330dd5..ddc3737 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 aef478f..eafce45 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
--
1.7.10.4
next prev parent reply other threads:[~2013-01-11 10:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-11 9:48 [Buildroot] [PATCH] mtd: add options to build flash_otp_unlock and flash_otp_write Arnout Vandecappelle
2013-01-11 9:57 ` Baruch Siach
2013-01-11 10:43 ` Arnout Vandecappelle [this message]
2013-01-13 20:14 ` [Buildroot] [PATCH v2] " Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1357901033-8084-1-git-send-email-arnout@mind.be \
--to=arnout@mind.be \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox