From 0c5081ac98173e7c33bdee5e413b37aba2c03f7e Mon Sep 17 00:00:00 2001 From: Raj Rajasekaran <b10872@freescale.com> Date: Thu, 24 Sep 2009 14:24:25 -0500 Subject: ENGR00116798:MX51: Add support to handle potential hang on SCC HW failute. -Added kernel error message to handle hang due to SCC HW failure. -Eliminated unwanted sleeps. -Kernel error message to handle the case when SCC key fuses are not blown. Signed-off-by: Raj Rajasekaran <b10872@freescale.com> --- include/linux/mxc_scc2_driver.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/linux') diff --git a/include/linux/mxc_scc2_driver.h b/include/linux/mxc_scc2_driver.h index 18ff7ae79eb4..ba305c1d2c6e 100644 --- a/include/linux/mxc_scc2_driver.h +++ b/include/linux/mxc_scc2_driver.h @@ -737,6 +737,8 @@ scc_verify_slot_access(uint64_t owner_id, uint32_t slot, uint32_t access_len);*/ #define SCM_STATUS_SRS_ZDONE2 0x7 /**< Zeroize Done, Cipher Busy */ #define SCM_STATUS_SRS_CDONE2 0x8 /**< Cipher Done, Zeroize Busy */ #define SCM_STATUS_SRS_ADONE 0xD /**< All Done */ +#define SCM_STATUS_SRS_FAIL 0xF /**< Fail State */ + /* Format of the SCM VERSION ID REGISTER */ #define SCM_VER_BPP_MASK 0xFF000000 /**< Bytes Per Partition Mask */ -- cgit v1.2.3