Eliminate secure string error handling
This is not required since the secure string library routines
have been removed.
Change-Id: I284a21e4167d9bb6f78354d809c563a4c52f619c
Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
diff --git a/arch/arc/core/fatal.c b/arch/arc/core/fatal.c
index 791a45d..8195bc0 100644
--- a/arch/arc/core/fatal.c
+++ b/arch/arc/core/fatal.c
@@ -84,12 +84,6 @@
break;
#endif
-#ifdef CONFIG_ENHANCED_SECURITY
- case _NANO_ERR_INVALID_STRING_OP:
- PR_EXC("**** Invalid string operation! ****\n");
- break;
-#endif
-
default:
PR_EXC("**** Unknown Fatal Error %d! ****\n", reason);
break;
diff --git a/arch/arm/core/nanofatal.c b/arch/arm/core/nanofatal.c
index a6ac8d1..5b44b76 100644
--- a/arch/arm/core/nanofatal.c
+++ b/arch/arm/core/nanofatal.c
@@ -102,12 +102,6 @@
break;
#endif /* CONFIG_STACK_CANARIES */
-#ifdef CONFIG_ENHANCED_SECURITY
- case _NANO_ERR_INVALID_STRING_OP:
- PR_EXC("**** Invalid string operation! ****\n");
- break;
-#endif /* CONFIG_ENHANCED_SECURITY */
-
default:
PR_EXC("**** Unknown Fatal Error %d! ****\n", reason);
break;
diff --git a/arch/x86/core/nanofatal.c b/arch/x86/core/nanofatal.c
index d53bb11..be870a9 100644
--- a/arch/x86/core/nanofatal.c
+++ b/arch/x86/core/nanofatal.c
@@ -114,12 +114,6 @@
#endif /* CONFIG_STACK_CANARIES */
-#ifdef CONFIG_ENHANCED_SECURITY
- case _NANO_ERR_INVALID_STRING_OP:
- printk("**** Invalid string operation! ****\n");
- break;
-#endif /* CONFIG_ENHANCED_SECURITY */
-
default:
printk("**** Unknown Fatal Error %d! ****\n", reason);
break;
diff --git a/include/arch/arc/v2/error.h b/include/arch/arc/v2/error.h
index b7265c8ec..71ddcb8 100644
--- a/include/arch/arc/v2/error.h
+++ b/include/arch/arc/v2/error.h
@@ -49,6 +49,5 @@
#define _NANO_ERR_HW_EXCEPTION (0) /* MPU/Bus/Usage fault */
#define _NANO_ERR_INVALID_TASK_EXIT (1) /* Invalid task exit */
#define _NANO_ERR_STACK_CHK_FAIL (2) /* Stack corruption detected */
-#define _NANO_ERR_INVALID_STRING_OP (3) /* Invalid string operation */
#endif /* _ARCH_ARC_V2_ERROR_H_ */
diff --git a/include/arch/arm/CortexM/error.h b/include/arch/arm/CortexM/error.h
index d79743e..8405545 100644
--- a/include/arch/arm/CortexM/error.h
+++ b/include/arch/arm/CortexM/error.h
@@ -49,6 +49,5 @@
#define _NANO_ERR_HW_EXCEPTION (0) /* MPU/Bus/Usage fault */
#define _NANO_ERR_INVALID_TASK_EXIT (1) /* Invalid task exit */
#define _NANO_ERR_STACK_CHK_FAIL (2) /* Stack corruption detected */
-#define _NANO_ERR_INVALID_STRING_OP (3) /* Invalid string operation */
#endif /* _ARCH_ARM_CORTEXM_ERROR_H_ */
diff --git a/include/arch/x86/arch.h b/include/arch/x86/arch.h
index 89a4715..a61c64c 100644
--- a/include/arch/x86/arch.h
+++ b/include/arch/x86/arch.h
@@ -196,7 +196,6 @@
#define _NANO_ERR_GEN_PROT_FAULT (2) /* General protection fault */
#define _NANO_ERR_INVALID_TASK_EXIT (3) /* Invalid task exit */
#define _NANO_ERR_STACK_CHK_FAIL (4) /* Stack corruption detected */
-#define _NANO_ERR_INVALID_STRING_OP (5) /* Invalid string operation */
#ifndef _ASMLANGUAGE