summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Opaniuk <igor.opaniuk@toradex.com>2020-06-17 01:41:28 +0300
committerIgor Opaniuk <igor.opaniuk@toradex.com>2020-06-17 13:07:24 +0300
commit548a7dcc242452d447634beef792447515c324f8 (patch)
tree09cc556adcd6c2be7b7d978e48358eb7113fab79
parent8a9a70a8db1f6864787db8b53364a130acdfc3f8 (diff)
imx8: fuse_prog: drop additional confirmation for ECC fuses
This will to automate programming ECC fuses using only "-y" for a full confirmation when invoking "fuse prog" command. Relates-to: ELB-2764 Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
-rw-r--r--arch/arm/mach-imx/imx8/fuse.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/arch/arm/mach-imx/imx8/fuse.c b/arch/arm/mach-imx/imx8/fuse.c
index 104833ca70..4603b91a41 100644
--- a/arch/arm/mach-imx/imx8/fuse.c
+++ b/arch/arm/mach-imx/imx8/fuse.c
@@ -83,17 +83,9 @@ int fuse_prog(u32 bank, u32 word, u32 val)
if (((word >= FSL_ECC_WORD_START_1) && (word <= FSL_ECC_WORD_END_1)) ||
((word >= FSL_ECC_WORD_START_2) && (word <= FSL_ECC_WORD_END_2)))
- {
puts("Warning: Words in this index range have ECC protection and\n"
"can only be programmed once per word. Individual bit operations will\n"
- "be rejected after the first one. \n"
- "\n\n Really program this word? <y/N> \n");
-
- if(!confirm_yesno()) {
- puts("Word programming aborted\n");
- return -EPERM;
- }
- }
+ "be rejected after the first one. \n");
#if defined(CONFIG_SMC_FUSE)
return call_imx_sip(FSL_SIP_OTP_WRITE, (unsigned long)word,\