summaryrefslogtreecommitdiff
path: root/arch/arm/include
diff options
context:
space:
mode:
authorEric Nelson <eric.nelson@boundarydevices.com>2015-02-15 14:37:21 -0700
committerStefano Babic <sbabic@denx.de>2015-02-17 10:42:54 +0100
commit11c2e505c4505a8c709cfa65675ba07aedec4e76 (patch)
tree96140dfe00cc75a7628e82742795bf24e9a7abe4 /arch/arm/include
parentfb2589b3307bcbb1c763b2039a50b5e8198af048 (diff)
downloadu-boot-imx-11c2e505c4505a8c709cfa65675ba07aedec4e76.zip
u-boot-imx-11c2e505c4505a8c709cfa65675ba07aedec4e76.tar.gz
u-boot-imx-11c2e505c4505a8c709cfa65675ba07aedec4e76.tar.bz2
ARM: i.MX: provide access to reset cause through get_imx_reset_cause()
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/arch-imx/cpu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-imx/cpu.h b/arch/arm/include/asm/arch-imx/cpu.h
index 254136e..4715f4e 100644
--- a/arch/arm/include/asm/arch-imx/cpu.h
+++ b/arch/arm/include/asm/arch-imx/cpu.h
@@ -17,3 +17,5 @@
#define CS0_64M_CS1_64M 1
#define CS0_64M_CS1_32M_CS2_32M 2
#define CS0_32M_CS1_32M_CS2_32M_CS3_32M 3
+
+u32 get_imx_reset_cause(void);