summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/Makefile
diff options
context:
space:
mode:
authorRobert Jarzmik <robert.jarzmik@free.fr>2014-01-18 12:48:05 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2014-01-20 16:36:56 +0100
commit1d2c68babbc13d92589f734095ca0051cdd00ff6 (patch)
treee1fc79295b63d512cfe1686adf2390f5b062638a /arch/arm/mach-pxa/Makefile
parent6b07bf28cdf71ef59fe01181734519857a093cab (diff)
downloadbarebox-1d2c68babbc13d92589f734095ca0051cdd00ff6.tar.gz
barebox-1d2c68babbc13d92589f734095ca0051cdd00ff6.tar.xz
ARM: pxa: add reset source detection
Use PXA register RCSR to detect which is the reset cause. When triggering a reset, clear the former reset source first. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-pxa/Makefile')
-rw-r--r--arch/arm/mach-pxa/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/Makefile b/arch/arm/mach-pxa/Makefile
index 6a02a5459c..ddc042ee5a 100644
--- a/arch/arm/mach-pxa/Makefile
+++ b/arch/arm/mach-pxa/Makefile
@@ -5,3 +5,4 @@ obj-y += devices.o
obj-$(CONFIG_ARCH_PXA2XX) += mfp-pxa2xx.o
obj-$(CONFIG_ARCH_PXA27X) += speed-pxa27x.o
+obj-$(CONFIG_RESET_SOURCE) += reset_source.o