Skip to contentSkip to conversation

mtd: add options to build flash_otp_unlock and flash_otp_write

PATCH Superseded Arnout Vandecappelle (Essensium/Mind) 3 participants 4 messages Jan 11, 2013 – Jan 13, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mtd: add options to build flash_otp_unlock and flash_otp_write

From: "Arnout Vandecappelle (Essensium/Mind)" <[email protected]>

---
 package/mtd/Config.in |    6 ++++++
 package/mtd/mtd.mk    |    2 ++
 2 files changed, 8 insertions(+)
package/mtd/Config.in +6 -0
index 7330dd5..ddc3737 100644
@@ -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
package/mtd/mtd.mk +2 -0
index aef478f..c48b59f 100644
@@ -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_INFO)	+= flash_otp_lock
+MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_OTP_INFO)	+= 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
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 mtd: add options to build flash_otp_unlock and flash_otp_write

Hi Arnout,

Quoted 30 lines · Arnout Vandecappelle (Essensium/Mind)

From: "Arnout Vandecappelle (Essensium/Mind)" <[email protected]>

---
 package/mtd/Config.in |    6 ++++++
 package/mtd/mtd.mk    |    2 ++
 2 files changed, 8 insertions(+)
package/mtd/Config.in +6 -0
index 7330dd5..ddc3737 100644
@@ -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
package/mtd/mtd.mk +0 -0
index aef478f..c48b59f 100644

package/mtd/mtd.mk MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_ERASE) += flash_erase · line 41

Quoted 4 lines
package/mtd/mtd.mk +1 -0
@@ -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_INFO)	+= flash_otp_lock

$(BR2_PACKAGE_MTD_FLASH_OTP_LOCK)?

package/mtd/mtd.mk MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_ERASE) += flash_erase · line 42

Quoted 1 line
package/mtd/mtd.mk +1 -0
+MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_OTP_INFO)	+= flash_otp_write

$(BR2_PACKAGE_MTD_FLASH_OTP_WRITE)?

package/mtd/mtd.mk MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_ERASE) += flash_erase · line 45

Quoted 3 lines
package/mtd/mtd.mk +0 -0
 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

baruch

Signature · 3 lines
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
#2 lore raw

PATCH v2 1/1 mtd: add options to build flash_otp_unlock and flash_otp_write

From: "Arnout Vandecappelle (Essensium/Mind)" <[email protected]>

---
v2: use correct config variables in .mk file

---
 package/mtd/Config.in |    6 ++++++
 package/mtd/mtd.mk    |    2 ++
 2 files changed, 8 insertions(+)
package/mtd/Config.in +6 -0
index 7330dd5..ddc3737 100644
@@ -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
package/mtd/mtd.mk +2 -0
index aef478f..eafce45 100644
@@ -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
Signature · 1 line
1.7.10.4
#3 lore raw

PATCH v2 1/1 mtd: add options to build flash_otp_unlock and flash_otp_write

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Arnout" == Arnout Vandecappelle (Essensium/Mind) <[email protected]> writes:

Arnout> From: "Arnout Vandecappelle (Essensium/Mind)" <[email protected]> Arnout> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]> Arnout> ---
Arnout> v2: use correct config variables in .mk file

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard