[PATCH 2/6] ARM: i.MX: Fix incorrect IMX_SRC_SRSR_CSU_RESET

Andrey Smirnov andrew.smirnov at gmail.com
Thu Apr 26 22:49:42 PDT 2018


IMX_SRC_SRSR_CSU_RESET is bit 2, not 1.

Signed-off-by: Andrey Smirnov <andrew.smirnov at gmail.com>
---
 arch/arm/mach-imx/include/mach/reset-reason.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-imx/include/mach/reset-reason.h b/arch/arm/mach-imx/include/mach/reset-reason.h
index 4919f68d5..23e73d3b5 100644
--- a/arch/arm/mach-imx/include/mach/reset-reason.h
+++ b/arch/arm/mach-imx/include/mach/reset-reason.h
@@ -4,7 +4,7 @@
 #include <reset_source.h>
 
 #define IMX_SRC_SRSR_IPP_RESET		BIT(0)
-#define IMX_SRC_SRSR_CSU_RESET		BIT(1)
+#define IMX_SRC_SRSR_CSU_RESET		BIT(2)
 #define IMX_SRC_SRSR_IPP_USER_RESET	BIT(3)
 #define IMX_SRC_SRSR_WDOG1_RESET	BIT(4)
 #define IMX_SRC_SRSR_JTAG_RESET		BIT(5)
-- 
2.14.3




More information about the barebox mailing list