diff options
author | Philippe Langlais <philippe.langlais@stericsson.com> | 2011-10-12 10:36:56 +0200 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-05-22 11:01:49 +0200 |
commit | 6d5e109c04c4f655c48c0e00956c25ab80d5baa5 (patch) | |
tree | 130ccfe3b4b5dd1839bddabc3e776acd75231664 /arch/arm/mach-ux500/Makefile | |
parent | 02da9474428977763aeb9d146391b95c2ce9487f (diff) |
ux500: sw reset: Save SW Reset Reason before reset
Converts the reboot reason string received in SYSCALL_DEFINE4 in
sys.c into a 2 bytes reset reason code. This 16 bit value is
stored in the TCDM Memory at location: tcdm_base + 0xFF8.
The string to code mapping structure has been added in file
reboot_reasons.h and reboot_reasons.c. The code for translation
has been placed in cpu.c.
ST-Ericsson Linux next: Tested and reviewed with 2011-03-28
ST-Ericsson ID: 327863
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I5fe83b824c6dbe3f61a3d77671ce845e6f81d87b
Signed-off-by: rickard evertsson <rickard.evertsson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/19174
Reviewed-by: Mattias WALLIN <mattias.wallin@stericsson.com>
Conflicts:
arch/arm/mach-ux500/Makefile
arch/arm/mach-ux500/cpu.c
Conflicts:
arch/arm/mach-ux500/Makefile
arch/arm/mach-ux500/cpu.c
arch/arm/mach-ux500/include/mach/prcmu-fw-api.h
drivers/misc/shrm/shrm_protocol.c
Diffstat (limited to 'arch/arm/mach-ux500/Makefile')
-rw-r--r-- | arch/arm/mach-ux500/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-ux500/Makefile b/arch/arm/mach-ux500/Makefile index 0992ac1115c..c9ace64f2cb 100644 --- a/arch/arm/mach-ux500/Makefile +++ b/arch/arm/mach-ux500/Makefile @@ -4,7 +4,7 @@ obj-y := clock.o cpu.o devices.o \ devices-common.o \ - id.o pins.o usb.o timer.o + id.o pins.o usb.o timer.o reboot_reasons.o obj-y += pm/ obj-$(CONFIG_CACHE_L2X0) += cache-l2x0.o obj-$(CONFIG_UX500_SOC_DB5500) += cpu-db5500.o dma-db5500.o prcmu-db5500.o \ |